Skip to content
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...
1 parent 976a674 commit 15701c59ac1909ec424148c035e9fb04e84711b6 @rhiller rhiller committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/python/mod_python/
2 lib/python/mod_python/
@@ -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

0 comments on commit 15701c5

Please sign in to comment.
Something went wrong with that request. Please try again.