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
13
This is not the real page
16
# This is supposed to be returned when the server gets a
17
# Authorization: Digest line passed-in from the client
19
HTTP/1.1 200 OK swsclose
20
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
21
Content-Type: text/html; charset=iso-8859-1
24
This IS the real page!
28
HTTP/1.1 401 Authorization Required swsclose
29
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
30
WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
31
Content-Type: text/html; charset=iso-8859-1
34
HTTP/1.1 200 OK swsclose
35
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
36
Content-Type: text/html; charset=iso-8859-1
39
This IS the real page!
50
HTTP PUT with Digest authorization
53
http://%HOSTIP:%HOSTPORT/88 -T log/put88 -u testuser:testpass --digest
55
<file name="log/put88">
56
This is data we upload with PUT
59
four is the number of lines
63
# Verify data after the test has been "shot"
75
Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/88", response="78a49fa53d0c228778297687d4168e71"
76
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
83
This is data we upload with PUT
86
four is the number of lines