]> granicus.if.org Git - python/commit
Issue #2211: Updated the implementation of the http.cookies.Morsel class.
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 18 Mar 2015 08:59:57 +0000 (10:59 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 18 Mar 2015 08:59:57 +0000 (10:59 +0200)
commit9c1a9b2657b5e39c6359698e160cb2b7e6df1193
tree807b9bced4326cb4c4ab7c8b531ff06455b3a100
parent3505bd82a9b6a06ca4d97b2386c8da167b387743
Issue #2211: Updated the implementation of the http.cookies.Morsel class.
Setting attributes key, value and coded_value directly now is deprecated.
update() and setdefault() now transform and check keys.  Comparing for
equality now takes into account attributes key, value and coded_value.
copy() now returns a Morsel, not a dict.  repr() now contains all attributes.
Optimized checking keys and quoting values.  Added new tests.
Original patch by Demian Brecht.
Doc/library/http.cookies.rst
Doc/whatsnew/3.5.rst
Lib/http/cookies.py
Lib/test/test_http_cookies.py
Misc/NEWS