12 HTTP/1.1 401 Authorization Required
13 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
14 WWW-Authenticate: Basic realm="foothis"
15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
16 Content-Type: text/html; charset=iso-8859-1
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
27 Content-Type: text/html; charset=iso-8859-1
30 This IS the real page!
34 HTTP/1.1 401 Authorization Required
35 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
36 WWW-Authenticate: Basic realm="foothis"
37 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
38 Content-Type: text/html; charset=iso-8859-1
42 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
43 Content-Type: text/html; charset=iso-8859-1
46 This IS the real page!
60 HTTP with Digest *OR* Basic authorization
63 http://%HOSTIP:%HTTPPORT/72 -u testuser:testpass --anyauth
67 # Verify data after the test has been "shot"
74 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
75 Host: %HOSTIP:%HTTPPORT
79 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/72", response="9fcd1330377365a09bbcb33b2cbb25bd"
80 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
81 Host: %HOSTIP:%HTTPPORT