Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert to mod_python 3.3.1 semantics where cookie expiration is sent …

…to client

Without the "expires" attribute in the _valid_attr list, cookie expirations are never returned by the __str__ method, and consequently are never sent to the browser.
  • Loading branch information...
commit 15701c59ac1909ec424148c035e9fb04e84711b6 1 parent 976a674
@rhiller rhiller authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/python/mod_python/Cookie.py
View
2  lib/python/mod_python/Cookie.py
@@ -59,7 +59,7 @@ def __new__(cls, clsname, bases, clsdict):
_valid_attr = (
"version", "path", "domain", "secure",
- "comment", "max_age",
+ "comment", "expires", "max_age",
# RFC 2965
"commentURL", "discard", "port",
# Microsoft Extension
Please sign in to comment.
Something went wrong with that request. Please try again.