Re: Backport fix on #16611 to Python 2.7

2014-06-19 Thread Makoto Kuwata
Sorry, I failed to post reply: -- Forwarded message -- From: Makoto Kuwata k...@kuwata-lab.com Date: Wed, Jun 18, 2014 at 5:32 PM Subject: Re: Backport fix on #16611 to Python 2.7 To: Terry Reedy tjre...@udel.edu On Wed, Jun 18, 2014 at 12:31 PM, Terry Reedy tjre...@udel.edu

Backport fix on #16611 to Python 2.7

2014-06-17 Thread Makoto Kuwata
Hi, I found a bug on SimpleCookie#load() which doesn't parse 'secure' and 'httponly' attributes correctly. try: from Cookie import SimpleCookie except: from http.cookies import SimpleCookie ck = SimpleCookie() ck.load('name1=value1; Path=/xxx; httponly; secure')

Re: Backport fix on #16611 to Python 2.7

2014-06-17 Thread Mark Lawrence
On 18/06/2014 01:56, Makoto Kuwata wrote: Hi, I found a bug on SimpleCookie#load() which doesn't parse 'secure' and 'httponly' attributes correctly. try: from Cookie import SimpleCookie except: from http.cookies import SimpleCookie ck = SimpleCookie()

Re: Backport fix on #16611 to Python 2.7

2014-06-17 Thread Terry Reedy
On 6/17/2014 9:08 PM, Mark Lawrence wrote: On 18/06/2014 01:56, Makoto Kuwata wrote: Hi, I found a bug on SimpleCookie#load() which doesn't parse 'secure' and 'httponly' attributes correctly. try: from Cookie import SimpleCookie except: from http.cookies import