[issue1564508] RFC 2965 BaseCookie does not support $Port

2009-05-27 Thread Ben Anhalt

Ben Anhalt ben.anh...@gmail.com added the comment:

Actually, I was just bit by this. In fact, RFC 2965 prohibits clients
from sending $Port if the port attribute was not included in the
Set-Cookie header.  But, it turns out that the mono System.Net library
(at least) will add the attribute any time the URI includes a
non-default port number. See http://go-mono.com/forums/#nabble-f1367  I
think this is technically their bug, but it might be nice to have
something like a non-strict mode in Cookie.py that would ignore
unexpected attributes for handling cases like this.

--
nosy: +benanhalt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1564508
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1564508] RFC 2965 BaseCookie does not support $Port

2009-05-27 Thread Ben Anhalt

Ben Anhalt ben.anh...@gmail.com added the comment:

Grrr, the link in my last comment should have been
http://www.nabble.com/System.Net.CookieContainer-adding-inappropriate-%24Port-attribute-to-cookies--td23752882ef1367.html

Yuck.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1564508
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com