16 HTTP/1.1 401 Authorization Required swsclose
17 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
18 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
19 Content-Type: text/html; charset=iso-8859-1
22 This is not the real page
25 # This is supposed to be returned when the server gets a
26 # Authorization: Digest line passed-in from the client
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
33 This IS the real page!
37 HTTP/1.1 401 Authorization Required swsclose
38 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
39 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
40 Content-Type: text/html; charset=iso-8859-1
43 HTTP/1.1 200 OK swsclose
44 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
45 Content-Type: text/html; charset=iso-8859-1
48 This IS the real page!
62 HTTP PUT with Digest authorization
65 http://%HOSTIP:%HTTPPORT/88 -T log/put88 -u testuser:testpass --digest
67 <file name="log/put88">
68 This is data we upload with PUT
71 four is the number of lines
75 # Verify data after the test has been "shot"
82 Host: %HOSTIP:%HTTPPORT
88 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/88", response="78a49fa53d0c228778297687d4168e71"
89 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
90 Host: %HOSTIP:%HTTPPORT
95 This is data we upload with PUT
98 four is the number of lines