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