15 # this is returned first since we get no proxy-auth
17 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
18 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
\r
21 And you should ignore this data.
24 # then this is returned when we get proxy-auth
34 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
35 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
\r
56 # tool is what to use instead of 'curl'
65 HTTP proxy auth Digest multi API re-using connection
68 http://test.remote.example.com/path/540 http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name
72 # Verify data after the test has been "shot"
78 GET http://test.remote.example.com/path/540 HTTP/1.1
\r
79 Host: custom.set.host.name
\r
81 Proxy-Connection: Keep-Alive
\r
83 GET http://test.remote.example.com/path/540 HTTP/1.1
\r
84 Host: custom.set.host.name
\r
85 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
\r
87 Proxy-Connection: Keep-Alive
\r
89 GET http://test.remote.example.com/path/540 HTTP/1.1
\r
90 Host: custom.set.host.name
\r
91 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
\r
93 Proxy-Connection: Keep-Alive
\r