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:
parent
91b9fb3e3f
commit
89fba67eb0
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue