[ python-Bugs-1210326 ] comma separated cookie values
SourceForge.net
noreply at sourceforge.net
Thu Jun 2 01:19:10 CEST 2005
Bugs item #1210326, was opened at 2005-05-28 06:13
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1210326&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: tvogt (tovo)
Assigned to: Nobody/Anonymous (nobody)
Summary: comma separated cookie values
Initial Comment:
According to RFC 2109
"For backward compatibility, the separator in the
Cookie header
is semi-colon (;) everywhere. A server should also
accept comma (,)
as the separator between cookie-values for future
compatibility."
The Cookie standard module does not support this as it
should.
>>> import Cookie
>>> c=Cookie.SimpleCookie()
>>> c.load('foo=2, bar=3')
>>> print c['foo'].value
2,
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2005-06-01 19:19
Message:
Logged In: YES
user_id=11375
The updated cookie RFC, RFC 2965, also has this language.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1210326&group_id=5470
More information about the Python-bugs-list
mailing list