4
HTTP/1.1 401 Authorization Required swsclose
5
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
6
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
7
Content-Type: text/html; charset=iso-8859-1
9
This is not the real page
12
# This is supposed to be returned when the server gets a
13
# Authorization: Digest line passed-in from the client
15
HTTP/1.1 200 OK swsclose
16
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
17
Content-Type: text/html; charset=iso-8859-1
19
This IS the real page!
23
HTTP/1.1 401 Authorization Required swsclose
24
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
25
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
26
Content-Type: text/html; charset=iso-8859-1
28
HTTP/1.1 200 OK swsclose
29
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
30
Content-Type: text/html; charset=iso-8859-1
32
This IS the real page!
43
HTTP with Digest authorization
46
http://%HOSTIP:%HOSTPORT/64 -u testuser:testpass --digest
50
# Verify data after the test has been "shot"
62
Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/64", response="c55f7f30d83d774a3d2dcacf725abaca"
63
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3