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')
    print(ck.output())  #=> Set-Cookie: name1=value1; Path=/xxx
            # (Missing 'httponly' and 'secure' attributes on Python <
3.3.2!)


This bug has been registered as #16611, and fixed on 3.3.3.
But it is not backported into Python 2.7.
http://bugs.python.org/issue16611

My question: Is there any plan to backport the fix to Python 2.7?

--
regards,
makoto kuwata
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to