Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Date: Thu Apr 5 09:12:05 2007
New Revision: 6403
Verified behavior of sendRedirect().
--- Webware/trunk/WebKit/HTTPResponse.py (original)
+++ Webware/trunk/WebKit/HTTPResponse.py Thu Apr 5 09:12:05 2007
@@ -222,12 +222,12 @@
This method sets the headers and content for the redirect, but does
NOT change the cookies. Use clearCookies() as appropriate.
- @@ 2002-03-21 ce: I thought cookies were ignored by user agents if a
- redirect occurred. We should verify and update code or docs as appropriate.
+ See http://www.ietf.org/rfc/rfc2616 (section 10.3.3),
+ http://www.ietf.org/rfc/rfc3875 (section 6.2.3) and
+ (removing cookies by IIS is considered a bug).
- # ftp://ftp.isi.edu/in-notes/rfc2616.txt
- # Sections: 10.3.3 and others
assert not self._committed, "Headers have already been sent."
self.setHeader('Status', '302 Redirect')