17 HTTP/1.1 401 Authorization Required swsclose
18 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
19 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
20 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
21 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
22 Content-Type: text/html; charset=iso-8859-1
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
32 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
33 Content-Type: text/html; charset=iso-8859-1
37 This IS the real page!
41 HTTP/1.1 401 Authorization Required swsclose
42 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
43 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
44 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
45 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
46 Content-Type: text/html; charset=iso-8859-1
49 HTTP/1.1 200 OK swsclose
50 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
51 Content-Type: text/html; charset=iso-8859-1
55 This IS the real page!
69 HTTP PUT with --anyauth authorization (picking Digest)
72 http://%HOSTIP:%HTTPPORT/154 -T log/put154 -u testuser:testpass --anyauth
74 <file name="log/put154">
75 This is data we upload with PUT
78 four is the number of lines
82 # Verify data after the test has been "shot"
89 Host: %HOSTIP:%HTTPPORT
95 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/154", response="b71551e12d1c456e47d8388ecb2edeca"
96 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
97 Host: %HOSTIP:%HTTPPORT
102 This is data we upload with PUT
105 four is the number of lines