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!
40 # This is the second request
42 HTTP/1.1 200 OK swsclose
\r
43 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
44 Content-Type: text/html; charset=iso-8859-1
\r
48 This IS the second real page!
52 HTTP/1.1 401 Authorization Required swsclose
\r
53 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
54 WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
\r
55 WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
\r
56 WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
\r
57 Content-Type: text/html; charset=iso-8859-1
\r
60 HTTP/1.1 200 OK swsclose
\r
61 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
62 Content-Type: text/html; charset=iso-8859-1
\r
66 This IS the real page!
81 HTTP GET with --anyauth with two URLs (picking Digest)
84 http://%HOSTIP:%HTTPPORT/1412 -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/14120001
86 <file name="log/put1412">
87 This is data we upload with PUT
90 four is the number of lines
94 # Verify data after the test has been "shot"
101 Host: %HOSTIP:%HTTPPORT
\r
105 Host: %HOSTIP:%HTTPPORT
\r
106 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/1412", response="0390dbe89e31adca0413d11f91f30e7f"
\r
107 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
110 GET /14120001 HTTP/1.1
\r
111 Host: %HOSTIP:%HTTPPORT
\r
112 Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/14120001", response="0085df91870374c8bf4e94415e7fbf8e"
\r
113 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r