[Patches] [ python-Patches-1117339 ] cookielib and cookies with special names

SourceForge.net noreply at sourceforge.net
Sun Feb 6 16:30:31 CET 2005


Patches item #1117339, was opened at 2005-02-06 15:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1117339&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: cookielib and cookies with special names

Initial Comment:
cookielib's Netscape cookies parser,
parse_ns_headers(), treats Netscape cookies whose names
happen to match one of the special cookie-attribute
names as if they were a cookie-attribute rather than a
cookie name=value pair.

Eg. Set-Cookie: expires="foo"

Here, expires is the cookie name, not a special expires
cookie-attribute.

The patch includes two new tests, a patch to
cookielib.py and a fix to an existing test.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1117339&group_id=5470


More information about the Patches mailing list