From a51f3081f09f91f3d30d4fbd528e8f79f127f92d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Mon, 27 Oct 2014 16:42:37 +0100 Subject: [PATCH] template_response: add http header Content-Cache: no-cache for ie --- mandaye/response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mandaye/response.py b/mandaye/response.py index 46a237a..9e69832 100644 --- a/mandaye/response.py +++ b/mandaye/response.py @@ -115,7 +115,7 @@ administrator and inform them of the time the error occurred." serve_template("response.html", title=title, body=msg)) def template_response(templatename, values): - headers = HTTPHeader({'Content-Type': ['text/html']}) + headers = HTTPHeader({'Content-Type': ['text/html'], 'Cache-Control': 'no-cache'}) msg = serve_template(templatename, **values) return HTTPResponse(200, 'OK', headers, msg)