2 # Redirection is used to force curl to realize that the server is
3 # speaking HTTP 1.0. The request is impossible to satisfy with HTTP 1.0
4 # because chunked encoding is unavailable, so the request must fail.
11 chunked Transfer-Encoding
18 HTTP/1.0 301 Redirect swsclose
\r
20 Content-Type: text/plain
\r
21 Location: /newlocation/10730002
\r
34 HTTP chunked PUT to HTTP 1.0 server with redirect
37 http://%HOSTIP:%HTTPPORT/1073 -T - -L
40 This is data we upload with PUT
41 it comes from stdin so MUST be sent
43 which is impossible in HTTP/1.0
47 # Verify data after the test has been "shot"
57 Host: %HOSTIP:%HTTPPORT
\r
59 Transfer-Encoding: chunked
\r
60 Expect: 100-continue
\r
63 This is data we upload with PUT
64 it comes from stdin so MUST be sent
66 which is impossible in HTTP/1.0