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!
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
\r
92 Expect: 100-continue
\r
95 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/154", response="b71551e12d1c456e47d8388ecb2edeca"
\r
96 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
97 Host: %HOSTIP:%HTTPPORT
\r
100 Expect: 100-continue
\r
102 This is data we upload with PUT
105 four is the number of lines