[Python-checkins] python/dist/src/Lib/test/output test_httplib,1.2,1.3
jhylton@users.sourceforge.net
jhylton@users.sourceforge.net
Sun, 07 Jul 2002 09:51:40 -0700
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv14230/test/output
Modified Files:
test_httplib
Log Message:
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.
Index: test_httplib
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_httplib,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_httplib 24 Mar 2002 16:54:38 -0000 1.2
--- test_httplib 7 Jul 2002 16:51:37 -0000 1.3
***************
*** 6,7 ****
--- 6,10 ----
InvalidURL raised as expected
InvalidURL raised as expected
+ reply: 'HTTP/1.1 200 OK\r\n'
+ header: Set-Cookie: Customer="WILE_E_COYOTE"; Version="1"; Path="/acme"
+ header: Set-Cookie: Part_Number="Rocket_Launcher_0001"; Version="1"; Path="/acme"