15 HTTP/1.1 401 Authorization Required swsclose
\r
16 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
17 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
\r
18 Content-Type: text/html; charset=iso-8859-1
\r
21 This is not the real page
24 # This is supposed to be returned when the server gets a
25 # Authorization: Digest line passed-in from the client
27 HTTP/1.1 200 OK swsclose
\r
28 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
29 Content-Type: text/html; charset=iso-8859-1
\r
32 This IS the real page!
36 HTTP/1.1 401 Authorization Required swsclose
\r
37 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
\r
38 WWW-Authenticate: Digest realm="testrealm", nonce="1053604145"
\r
39 Content-Type: text/html; charset=iso-8859-1
\r
42 HTTP/1.1 200 OK swsclose
\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!
58 HTTP PUT with Digest authorization
61 http://%HOSTIP:%HTTPPORT/88 -T log/put88 -u testuser:testpass --digest
63 <file name="log/put88">
64 This is data we upload with PUT
67 four is the number of lines
71 # Verify data after the test has been "shot"
78 Host: 127.0.0.1:%HTTPPORT
\r
81 Expect: 100-continue
\r
84 Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/88", response="78a49fa53d0c228778297687d4168e71"
\r
85 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
\r
86 Host: 127.0.0.1:%HTTPPORT
\r
89 Expect: 100-continue
\r
91 This is data we upload with PUT
94 four is the number of lines