Author: eallen
Date: 2009-11-04 17:20:31 -0500 (Wed, 04 Nov 2009)
New Revision: 3700
Modified:
mgmt/trunk/wooly/python/wooly/server.py
Log:
Restored ability to send cookies to browser.
Modified: mgmt/trunk/wooly/python/wooly/server.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/server.py 2009-11-04 20:21:32 UTC (rev 3699)
+++ mgmt/trunk/wooly/python/wooly/server.py 2009-11-04 22:20:31 UTC (rev 3700)
@@ -161,6 +161,9 @@
if cache:
headers.append(("Cache-Control", cache))
+ for header in session.marshal_cookies():
+ headers.append(("Set-Cookie", header))
+
def send_not_found(self, response, headers):
message = "404 Not Found"
Show replies by date