5 # this is returned first since we get no proxy-auth
7 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
8 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
\r
10 And you should ignore this data.
13 # this is returned when we get a GET!
16 Date: Thu, 09 Nov 2010 14:49:00 GMT
19 Content-Type: text/html
25 # then this is returned when we get proxĂ˝-auth
27 HTTP/1.1 200 OK swsbounce
\r
34 HTTP/1.1 407 Authorization Required to proxy me my dear
\r
35 Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
\r
37 HTTP/1.1 200 OK swsbounce
\r
41 Date: Thu, 09 Nov 2010 14:49:00 GMT
44 Content-Type: text/html
57 HTTP proxy CONNECT auth Digest
60 http://test.remote.server.com:206/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
64 # Verify data after the test has been "shot"
70 CONNECT test.remote.server.com:206 HTTP/1.0
\r
71 Host: test.remote.server.com:206
\r
72 Proxy-Connection: Keep-Alive
\r
74 CONNECT test.remote.server.com:206 HTTP/1.0
\r
75 Host: test.remote.server.com:206
\r
76 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.server.com:206", response="5059a96c954981ceb94e17d667c8d3f8"
\r
77 Proxy-Connection: Keep-Alive
\r
79 GET /path/2060002 HTTP/1.1
\r
80 User-Agent: curl/7.12.3-CVS (i686-pc-linux-gnu) libcurl/7.12.3-CVS OpenSSL/0.9.6b zlib/1.1.4
\r
81 Host: test.remote.server.com:206
\r