Bugs item #1564508, was opened at 2006-09-24 14:05 Message generated for change (Comment added) made by jjlee You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1564508&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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Anders Aagaard (aagaande) Assigned to: Nobody/Anonymous (nobody) Summary: BaseCookie does not support "$Port" Initial Comment: Sending a cookie containing $Port to python's Cookie.py causes this exception: File "/usr/lib64/python2.4/Cookie.py", line 621, in load self.__ParseString(rawdata) File "/usr/lib64/python2.4/Cookie.py", line 646, in __ParseString M[ K[1:] ] = V File "/usr/lib64/python2.4/Cookie.py", line 437, in __setitem__ raise CookieError("Invalid Attribute %s" % K) CookieError: Invalid Attribute port For RFC2965 compatibility more keys has to be added to the Morsel class in the same file. ---------------------------------------------------------------------- Comment By: John J Lee (jjlee) Date: 2007-03-14 21:20 Message: Logged In: YES user_id=261020 Originator: NO Why do you want RFC 2965 compatibility? I'm not trolling; RFC 2965 is dead as an internet protocol (except as a basis for implementing the older cookie protocols, as RFC 2965 + compatibility hacks -- but $Port is not relevant in that case). The authors of the RFC gave up on an effort to publish errata to the RFC, due to the complexities and the lack of interest from the internet at large. AFAIK, $Port is not implemented by browsers (except for maybe Opera and lynx, IIRC). It just never caught on. See also http://python.org/sf/1638033 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1564508&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com