17 HTTP/1.1 401 Authorization Required swsclose
\r
18 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
19 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
20 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
21 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
\r
22 Content-Type: text/html; charset=iso-8859-1
\r
25 This is not the real page
28 # This is supposed to be returned when the server gets a
29 # Authorization: Digest line passed-in from the client
31 HTTP/1.1 200 OK swsclose
\r
32 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
33 Content-Type: text/html; charset=iso-8859-1
\r
37 This IS the real page!
41 HTTP/1.1 401 Authorization Required swsclose
\r
42 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
43 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
44 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
45 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
\r
46 Content-Type: text/html; charset=iso-8859-1
\r
49 HTTP/1.1 200 OK swsclose
\r
50 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
51 Content-Type: text/html; charset=iso-8859-1
\r
55 This IS the real page!
70 HTTP PUT with --anyauth authorization (picking Digest)
73 http://%HOSTIP:%HTTPPORT/154 -T log/put154 -u testuser:testpass --anyauth
75 <file name="log/put154">
76 This is data we upload with PUT
79 four is the number of lines
83 # Verify data after the test has been "shot"
90 Host: %HOSTIP:%HTTPPORT
\r
93 Expect: 100-continue
\r
96 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/154", response="b71551e12d1c456e47d8388ecb2edeca"
\r
97 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
98 Host: %HOSTIP:%HTTPPORT
\r
101 Expect: 100-continue
\r
103 This is data we upload with PUT
106 four is the number of lines