2 # test case cloned from 1076 and then 302 was replaced with 303
14 HTTP/1.1 303 OK swsclose
15 Location: moo.html&testcase=/13320002
16 Date: Thu, 09 Nov 2010 14:49:00 GMT
21 HTTP/1.1 200 OK swsclose
22 Location: this should be ignored
23 Date: Thu, 09 Nov 2010 14:49:00 GMT
29 HTTP/1.1 303 OK swsclose
30 Location: moo.html&testcase=/13320002
31 Date: Thu, 09 Nov 2010 14:49:00 GMT
34 HTTP/1.1 200 OK swsclose
35 Location: this should be ignored
36 Date: Thu, 09 Nov 2010 14:49:00 GMT
50 HTTP POST with 303 redirect and --post303
53 http://%HOSTIP:%HTTPPORT/blah/1332 -L -d "moo" --post303
58 # Verify data after the test has been "shot"
63 <protocol nonewline="yes">
64 POST /blah/1332 HTTP/1.1
\r
65 Host: %HOSTIP:%HTTPPORT
\r
68 Content-Type: application/x-www-form-urlencoded
\r
70 mooPOST /blah/moo.html&testcase=/13320002 HTTP/1.1
\r
71 User-Agent: curl/7.10 (i686-pc-linux-gnu) libcurl/7.10 OpenSSL/0.9.6c ipv6 zlib/1.1.3
\r
72 Host: %HOSTIP:%HTTPPORT
\r
75 Content-Type: application/x-www-form-urlencoded
\r