cpython/Lib/http
R David Murray cd0f74b1e0 #16611: BaseCookie now parses 'secure' and 'httponly' flags.
Previously it generated them if they were given a value, but completely
ignored them if they were present in the string passed in to be parsed.  Now
if the flag appears on a cookie, the corresponding Morsel key will reference a
True value.  Other pre-existing behavior is retained in this maintenance
patch: if the source contains something like 'secure=foo', morsel['secure']
will return 'foo'.  Since such a value doesn't round trip and never did (and
would be a surprising occurrence) a subsequent non-bug-fix patch may change
this behavior.

Inspired by a patch from Julien Phalip, who reviewed this one.
2013-08-25 11:09:02 -04:00
..
__init__.py
client.py Issue #16658: add missing return to HTTPConnection.send(). 2013-04-12 22:49:19 +03:00
cookiejar.py #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage 2013-04-09 07:07:59 -07:00
cookies.py #16611: BaseCookie now parses 'secure' and 'httponly' flags. 2013-08-25 11:09:02 -04:00
server.py Reverting the changeset 5d76a4746d9d made for Issue #12921 2013-03-05 02:26:50 -08:00