7 HTTP/1.1 401 Authorization Required swsclose
8 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
9 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
10 Content-Type: text/html; charset=iso-8859-1
12 This is not the real page
15 # This is supposed to be returned when the server gets a
16 # Authorization: Digest line passed-in from the client
18 HTTP/1.1 200 OK swsclose
19 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
20 Content-Type: text/html; charset=iso-8859-1
22 This IS the real page!
26 HTTP/1.1 401 Authorization Required swsclose
27 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
28 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
29 Content-Type: text/html; charset=iso-8859-1
31 HTTP/1.1 200 OK swsclose
32 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
33 Content-Type: text/html; charset=iso-8859-1
35 This IS the real page!
46 HTTP PUT with Digest authorization
49 http://%HOSTIP:%HOSTPORT/88 -T log/put88 -u testuser:testpass --digest
51 <file name="log/put88">
52 This is data we upload with PUT
55 four is the number of lines
59 # Verify data after the test has been "shot"
73 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/88", response="78a49fa53d0c228778297687d4168e71"
74 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
81 This is data we upload with PUT
84 four is the number of lines