13 HTTP/1.0 301 Redirect swsclose
\r
14 Date: Thu, 29 Jul 2008 14:49:00 GMT
\r
15 Server: test-server/fake
\r
16 Location: data/10520002.txt?coolsite=yes
\r
22 HTTP/1.0 200 Followed here fine swsclose
\r
23 Date: Thu, 29 Jul 2008 14:49:00 GMT
\r
24 Server: test-server/fake
\r
27 If this is received, the location following worked
30 HTTP/1.0 301 Redirect swsclose
\r
31 Date: Thu, 29 Jul 2008 14:49:00 GMT
\r
32 Server: test-server/fake
\r
33 Location: data/10520002.txt?coolsite=yes
\r
37 HTTP/1.0 200 Followed here fine swsclose
\r
38 Date: Thu, 29 Jul 2008 14:49:00 GMT
\r
39 Server: test-server/fake
\r
42 If this is received, the location following worked
52 HTTP 1.0 PUT with Location: following
55 http://%HOSTIP:%HTTPPORT/want/1052 -0 -L -T log/test1052.txt
57 <file name="log/test1052.txt">
70 # Verify data after the test has been "shot"
76 # The primary reason libcurl sends the data part twice in this test is that
77 # the test HTTP server is blocking until it has read the entire request,
78 # including the full request-body before it responds. So in this test the
79 # server says 301 and 200 _after_ the entire PUT body has been sent.
81 PUT /want/1052 HTTP/1.0
\r
82 Host: %HOSTIP:%HTTPPORT
\r
95 PUT /want/data/10520002.txt?coolsite=yes HTTP/1.0
\r
96 Host: %HOSTIP:%HTTPPORT
\r