Berker Peksag added the comment:

This was fixed in issue 16611 (for 3.3 and 3.4) and there is a open issue for 
2.7: issue 19870. I'm closing this one as a duplicate of issue 19870, because 
it has a patch.

>>> from http import cookies
>>> C = cookies.SimpleCookie()
>>> C.load("chips=ahoy; vienna=finger; secure")
>>> print(C)
Set-Cookie: chips=ahoy
Set-Cookie: vienna=finger; secure
>>> C['vienna']['secure']
True

----------
nosy: +berker.peksag
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> Backport Cookie fix to 2.7 (httponly / secure flag)

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1028088>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to