18 # this is returned first since we get no proxy-auth
20 HTTP/1.1 407 Authorization Required to proxy me my dear
21 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
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
38 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
46 HTTP/1.1 407 Authorization Required to proxy me my dear
47 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
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
86 Host: custom.set.host.name
88 Proxy-Connection: Keep-Alive
90 GET http://test.remote.example.com/path/540 HTTP/1.1
91 Host: custom.set.host.name
92 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
94 Proxy-Connection: Keep-Alive
96 GET http://test.remote.example.com/path/540 HTTP/1.1
97 Host: custom.set.host.name
99 Proxy-Connection: Keep-Alive
101 GET http://test.remote.example.com/path/540 HTTP/1.1
102 Host: custom.set.host.name
103 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="/path/540", response="ca507dcf189196b6a5374d3233042261"
105 Proxy-Connection: Keep-Alive