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:
Gina Häußge 2015-03-16 10:41:04 +01:00
parent 91b9fb3e3f
commit 89fba67eb0

View file

@ -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