Module: check_mk
Branch: master
Commit: 707d2bd6ae575f06851a7f9db9761567b3242cb3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=707d2bd6ae575f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 13 14:33:42 2015 +0200
Removed old cache-control http header
---
web/htdocs/html_mod_python.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/web/htdocs/html_mod_python.py b/web/htdocs/html_mod_python.py
index 94df0f8..2f740d6 100644
--- a/web/htdocs/html_mod_python.py
+++ b/web/htdocs/html_mod_python.py
@@ -79,9 +79,6 @@ class html_mod_python(htmllib.html):
if expires is not None:
c.expires = expires
- if not self.req.headers_out.has_key("Set-Cookie"):
- self.set_http_header("Cache-Control",
'no-cache="set-cookie"')
-
self.set_http_header("Set-Cookie", str(c))
def del_cookie(self, varname):