2 # Authorization 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.
12 chunked Transfer-Encoding
19 HTTP/1.0 401 Authorization Required swsclose
21 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
22 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
23 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
24 Content-Type: text/plain
28 Try again on this HTTP 1.0 server!
41 HTTP chunked PUT to HTTP 1.0 server with authorization
44 http://%HOSTIP:%HTTPPORT/1072 -T - -u testuser:testpass --anyauth
47 This is data we upload with PUT
48 it comes from stdin so MUST be sent
50 which is impossible in HTTP/1.0
54 # Verify data after the test has been "shot"
64 Host: %HOSTIP:%HTTPPORT
66 Transfer-Encoding: chunked
70 This is data we upload with PUT
71 it comes from stdin so MUST be sent
73 which is impossible in HTTP/1.0