3 # this test is meant to be exactly like 547 but using Digest instead of NTLM
14 # as a bonus, ww use an excessive nonce length
16 HTTP/1.1 407 Authorization Required swsclose
17 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
18 Proxy-Authenticate: Digest realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
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 the Digest
26 # Authorization: line passed-in from the client
28 HTTP/1.1 200 Things are fine in proxy land swsclose
29 Server: Microsoft-IIS/5.0
30 Content-Type: text/html; charset=iso-8859-1
33 Contents of that page you requested, sir.
37 HTTP/1.1 407 Authorization Required swsclose
38 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
39 Proxy-Authenticate: Digest realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
40 Content-Type: text/html; charset=iso-8859-1
43 HTTP/1.1 200 Things are fine in proxy land swsclose
44 Server: Microsoft-IIS/5.0
45 Content-Type: text/html; charset=iso-8859-1
48 Contents of that page you requested, sir.
64 HTTP proxy auth Digest with POST data from read callback
67 http://test.remote.server.com/path/551 http://%HOSTIP:%HTTPPORT s1lly:pers0n
71 # Verify data after the test has been "shot"
76 # We strip off a large chunk of the type-2 NTLM message since it depends on
77 # the local host name and thus differs on different machines!
79 s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
82 POST http://test.remote.server.com/path/551 HTTP/1.1
83 Host: test.remote.server.com
86 Proxy-Connection: Keep-Alive
88 Content-Type: application/x-www-form-urlencoded
90 this is the blurb we want to upload
91 POST http://test.remote.server.com/path/551 HTTP/1.1
92 Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", uri="/path/551", response="3325240726fbdaf1e61f3a0dd40b930c"
93 Host: test.remote.server.com
96 Proxy-Connection: Keep-Alive
98 Content-Type: application/x-www-form-urlencoded
100 this is the blurb we want to upload