Added X-Clacks-Overhead header to commemorate Sir Terry
For as long as his name is still passed along the Clacks,
Death can't have him.
-- "Going Postal", Chapter 4 Prologue
RIP Terry Pratchett
See also http://gnuterrypratchett.com/
This commit is contained in:
1 parent
91b9fb3e3f
commit
89fba67eb0
1 file changed
+1
@@ -95,6 +95,7 @@ def after_request(response):
|
||||
# send no-cache headers with all POST responses
|
||||
if request.method == "POST":
|
||||
response.cache_control.no_cache = True
|
||||
response.headers.add("X-Clacks-Overhead", "GNU Terry Pratchett")
|
||||
return response
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user