7 HTTP/1.1 401 Authorization Required swsclose
\r
8 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
9 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
10 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
11 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
\r
12 Content-Type: text/html; charset=iso-8859-1
\r
15 This is not the real page
18 # This is supposed to be returned when the server gets a
19 # Authorization: Digest line passed-in from the client
21 HTTP/1.1 200 OK swsclose
\r
22 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
23 Content-Type: text/html; charset=iso-8859-1
\r
27 This IS the real page!
31 HTTP/1.1 401 Authorization Required swsclose
\r
32 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
33 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
34 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
35 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
\r
36 Content-Type: text/html; charset=iso-8859-1
\r
39 HTTP/1.1 200 OK swsclose
\r
40 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
41 Content-Type: text/html; charset=iso-8859-1
\r
45 This IS the real page!
56 HTTP PUT with --anyauth authorization (picking Digest)
59 http://%HOSTIP:%HOSTPORT/154 -T log/put154 -u testuser:testpass --anyauth
61 <file name="log/put154">
62 This is data we upload with PUT
65 four is the number of lines
69 # Verify data after the test has been "shot"
76 Host: 127.0.0.1:8999
\r
81 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/154", response="b71551e12d1c456e47d8388ecb2edeca"
\r
82 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
83 Host: 127.0.0.1:8999
\r
87 Expect: 100-continue
\r
89 This is data we upload with PUT
92 four is the number of lines