18 # this is returned first since we get no proxy-auth
20 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
21 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
\r
24 And you should ignore this data.
27 # then this is returned when we get proxy-auth
37 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
38 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
\r
46 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
47 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
\r
63 # tool is what to use instead of 'curl'
72 HTTP proxy auth Digest multi API re-using connection
75 http://test.remote.example.com/path/540 http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name
79 # Verify data after the test has been "shot"
85 GET http://test.remote.example.com/path/540 HTTP/1.1
\r
86 Host: custom.set.host.name
\r
88 Proxy-Connection: Keep-Alive
\r
90 GET http://test.remote.example.com/path/540 HTTP/1.1
\r
91 Host: custom.set.host.name
\r
92 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
\r
94 Proxy-Connection: Keep-Alive
\r
96 GET http://test.remote.example.com/path/540 HTTP/1.1
\r
97 Host: custom.set.host.name
\r
99 Proxy-Connection: Keep-Alive
\r
101 GET http://test.remote.example.com/path/540 HTTP/1.1
\r
102 Host: custom.set.host.name
\r
103 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
\r
105 Proxy-Connection: Keep-Alive
\r