changeset 462:361f1defc4c5

fixing twisted redirect problem imported from: moin--main--1.5--patch-466
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 05 Mar 2006 12:57:20 +0000
parents c296f00ca63e
children 051f79718bdd
files ChangeLog MoinMoin/request.py
diffstat 2 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 27 17:44:44 2006 +0000
+++ b/ChangeLog	Sun Mar 05 12:57:20 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-03-05 13:57:20 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-466
+
+    Summary:
+      fixing twisted redirect problem
+    Revision:
+      moin--main--1.5--patch-466
+
+    fixing twisted redirect problem
+    
+
+    modified files:
+     ChangeLog MoinMoin/request.py
+
+
 2006-02-27 18:44:44 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-465
 
     Summary:
--- a/MoinMoin/request.py	Mon Feb 27 17:44:44 2006 +0000
+++ b/MoinMoin/request.py	Sun Mar 05 12:57:20 2006 +0000
@@ -1482,6 +1482,10 @@
             
             RequestBase.__init__(self, properties)
 
+        except MoinMoinNoFooter: # might be triggered by http_redirect
+            self.http_headers() # send headers (important for sending MOIN_ID cookie)
+            self.finish()
+
         except Exception, err:
             # Wrap err inside an internal error if needed
             from MoinMoin import error