15 # this is returned first since we get no proxy-auth
17 HTTP/1.1 407 Authorization Required to proxy me my dear
18 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
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
35 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
56 # tool is what to use instead of 'curl'
64 HTTP proxy auth Digest multi API re-using connection
67 http://test.remote.server.com/path/540 http://%HOSTIP:%HTTPPORT silly:person custom.set.host.name
71 # Verify data after the test has been "shot"
77 GET http://test.remote.server.com/path/540 HTTP/1.1
80 Proxy-Connection: Keep-Alive
81 Host: custom.set.host.name
83 GET http://test.remote.server.com/path/540 HTTP/1.1
84 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
87 Proxy-Connection: Keep-Alive
88 Host: custom.set.host.name
90 GET http://test.remote.server.com/path/540 HTTP/1.1
91 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
94 Proxy-Connection: Keep-Alive
95 Host: custom.set.host.name