14
HTTP/1.1 401 Authorization Required
15
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
16
WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
17
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
18
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
20
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
29
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
30
Content-Type: text/html; charset=iso-8859-1
34
This IS the real page!
38
HTTP/1.1 401 Authorization Required
39
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
40
WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
41
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
42
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
44
Content-Type: text/html; charset=iso-8859-1
47
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
48
Content-Type: text/html; charset=iso-8859-1
52
This IS the real page!
66
HTTP PUT with --anyauth authorization (picking Digest)
69
http://%HOSTIP:%HTTPPORT/1030 -T log/put1030 -u testuser:testpass --anyauth
71
<file name="log/put1030">
72
This is data we upload with PUT
75
four is the number of lines
79
# Verify data after the test has been "shot"
86
Host: %HOSTIP:%HTTPPORT
91
This is data we upload with PUT
94
four is the number of lines
96
Authorization: Digest username="testuser", realm="gimme all yer s3cr3ts", nonce="11223344", uri="/1030", response="01cb59db1ddaac246b072d5f5f0716d9"
97
User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3
98
Host: %HOSTIP:%HTTPPORT
103
This is data we upload with PUT
106
four is the number of lines