13 HTTP/1.1 401 Authorization Required
\r
14 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
15 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
\r
16 WWW-Authenticate: NTLM
\r
17 Content-Type: text/html; charset=iso-8859-1
\r
20 This is not the real page
23 # This is supposed to be returned when the server gets a
24 # Authorization: Digest line passed-in from the client
27 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
28 Content-Type: text/html; charset=iso-8859-1
\r
31 This IS the real page!
35 HTTP/1.1 401 Authorization Required
\r
36 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
37 WWW-Authenticate: Digest realm="testrealm", nonce="1053604199"
\r
38 WWW-Authenticate: NTLM
\r
39 Content-Type: text/html; charset=iso-8859-1
\r
43 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
44 Content-Type: text/html; charset=iso-8859-1
\r
47 This IS the real page!
62 HTTP with Digest *OR* NTLM authorization
65 http://%HOSTIP:%HTTPPORT/70 -u testuser:testpass --anyauth
69 # Verify data after the test has been "shot"
76 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
77 Host: %HOSTIP:%HTTPPORT
\r
81 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604199", uri="/70", response="2c9a6f00af0d86497b177b90e90c688a"
\r
82 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
83 Host: %HOSTIP:%HTTPPORT
\r