changeset 997:8953764256c7

fix missing http_headers() call for not logged in users
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 20 Jul 2006 17:40:21 +0200
parents bd54096490d3
children 8e1f7ba815b5
files MoinMoin/Page.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Page.py	Wed Jul 19 23:51:45 2006 +0200
+++ b/MoinMoin/Page.py	Thu Jul 20 17:40:21 2006 +0200
@@ -1177,7 +1177,7 @@
                     # XXX The following code is commented because it is incorrect for dynamic pages:
                     #lastmod = os.path.getmtime(self._text_filename())
                     #request.http_headers(["Last-Modified: %s" % timefuncs.formathttpdate(lastmod)])
-                    pass
+                    request.http_headers()
             else:
                 request.http_headers(['Status: 404 NOTFOUND'])
                 request.setResponseCode(404)