]> granicus.if.org Git - python/commit
Fix for SF bug #432621: httplib: multiple Set-Cookie headers
authorJeremy Hylton <jeremy@alum.mit.edu>
Sun, 7 Jul 2002 16:51:37 +0000 (16:51 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sun, 7 Jul 2002 16:51:37 +0000 (16:51 +0000)
commit6d0a4c79cff39f45b6990b3dcb6bd653950a8014
treef66c8c15fad61a6750e74eb39316fc38a776bef1
parent803526b9e222077c5f9391d7e7348156eb7ba7da
Fix for SF bug #432621: httplib: multiple Set-Cookie headers

If multiple header fields with the same name occur, they are combined
according to the rules in RFC 2616 sec 4.2:

Appending each subsequent field-value to the first, each separated by
a comma. The order in which header fields with the same field-name are
received is significant to the interpretation of the combined field
value.
Lib/httplib.py
Lib/test/output/test_httplib
Lib/test/test_httplib.py