12 HTTP/1.1 401 Authorization Required
\r
13 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
14 WWW-Authenticate: Basic realm="foothis"
\r
15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
\r
16 Content-Type: text/html; charset=iso-8859-1
\r
19 This is not the real page
22 # This is supposed to be returned when the server gets a
23 # Authorization: Digest line passed-in from the client
26 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
27 Content-Type: text/html; charset=iso-8859-1
\r
30 This IS the real page!
34 HTTP/1.1 401 Authorization Required
\r
35 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
36 WWW-Authenticate: Basic realm="foothis"
\r
37 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
\r
38 Content-Type: text/html; charset=iso-8859-1
\r
42 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
43 Content-Type: text/html; charset=iso-8859-1
\r
46 This IS the real page!
61 HTTP with Digest *OR* Basic authorization
64 http://%HOSTIP:%HTTPPORT/72 -u testuser:testpass --anyauth
68 # Verify data after the test has been "shot"
75 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
76 Host: %HOSTIP:%HTTPPORT
\r
80 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/72", response="9fcd1330377365a09bbcb33b2cbb25bd"
\r
81 User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
82 Host: %HOSTIP:%HTTPPORT
\r