If you pass "secure=False" instead of "secure=None" to
"paste.wsgiwrappers.WSGIResponse.set_cookie", it turns secure *on*.
Naturally, this was a little surprising to me ;)
Here's the code from Paste that's doing the wrong thing:
for var_name, var_value in [
('max_age', max_age), ('path', path), ('domain', domain),
('secure', secure), ('expires', expires)]:
if var_value is not None:
self.cookies[key][var_name.replace('_', '-')] = var_value
Happy Hacking!
-jj
--
http://jjinux.blogspot.com/
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users