changeset 4445:26b4a39b2f7d

merged moin/1.7
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 21 Nov 2008 18:29:40 +0100
parents f414aece63e0 (current diff) b757ecd984fb (diff)
children cef1a2c6dad2
files MoinMoin/PageEditor.py MoinMoin/PageGraphicalEditor.py
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py	Tue Nov 11 22:00:33 2008 +0100
+++ b/MoinMoin/PageEditor.py	Fri Nov 21 18:29:40 2008 +0100
@@ -195,7 +195,7 @@
             self.send_page()
             return
 
-        # Emmit http_headers after checks (send_page)
+        # Emit http_headers after checks (send_page)
         request.disableHttpCaching(level=2)
         request.emit_http_headers()
 
--- a/MoinMoin/PageGraphicalEditor.py	Tue Nov 11 22:00:33 2008 +0100
+++ b/MoinMoin/PageGraphicalEditor.py	Fri Nov 21 18:29:40 2008 +0100
@@ -51,8 +51,6 @@
         request = self.request
         form = request.form
         _ = self._
-        request.disableHttpCaching(level=2)
-        request.emit_http_headers()
 
         raw_body = ''
         msg = None
@@ -87,6 +85,10 @@
             self.send_page()
             return
 
+        # Emit http_headers after checks (send_page)
+        request.disableHttpCaching(level=2)
+        request.emit_http_headers()
+
         # check if we want to load a draft
         use_draft = None
         if 'button_load_draft' in form: