[issue1660009] continuing problem with httplib multiple set-cookie headers

Piotr Dobrogost report at bugs.python.org
Wed Jan 9 00:12:09 CET 2013


Piotr Dobrogost added the comment:

@jjlee

What you said re commas in 2007 was wrong and still is. Joining (with commas) multiple header field values having the same field name unconditionally (without knowing it's safe) was not allowed by RFC 2616 and still is not allowed by the upcoming new RFC. See my comment at http://bugs.python.org/issue4773#msg179377

This was fixed in Python 3 - see http://bugs.python.org/issue4773#msg154781 As this is backward incompatible change (and I guess weather this is private api or not does not matter here) and there's working alternative (although it's private api) nothing will be done here.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1660009>
_______________________________________


More information about the Python-bugs-list mailing list