11 HTTP/1.1 401 Authorization Required swsclose
\r
12 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
13 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
\r
14 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
15 Content-Type: text/html; charset=iso-8859-1
\r
17 This is not the real page
20 # This is supposed to be returned when the server gets a
21 # Authorization: Digest line passed-in from the client
23 HTTP/1.1 200 OK swsclose
\r
24 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
25 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: Digest realm="testrealm", nonce="1053604145"
\r
34 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
35 Content-Type: text/html; charset=iso-8859-1
\r
37 HTTP/1.1 200 OK swsclose
\r
38 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
39 Content-Type: text/html; charset=iso-8859-1
\r
41 This IS the real page!
52 HTTP with two Digest authorization headers
55 http://%HOSTIP:%HTTPPORT/273 -u testuser:testpass --digest
59 # Verify data after the test has been "shot"
66 Host: 127.0.0.1:%HTTPPORT
\r
70 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/273", response="576ae57b1db0039f8c0de43ef58e49e3"
\r
71 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
72 Host: 127.0.0.1:%HTTPPORT
\r