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
60 HTTP proxy CONNECT auth Digest
63 http://test.remote.server.com:206/path/2060002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
67 # Verify data after the test has been "shot"
73 CONNECT test.remote.server.com:206 HTTP/1.0
\r
74 Host: test.remote.server.com:206
\r
75 Proxy-Connection: Keep-Alive
\r
77 CONNECT test.remote.server.com:206 HTTP/1.0
\r
78 Host: test.remote.server.com:206
\r
79 Proxy-Authorization: Digest username="silly", realm="weirdorealm", nonce="12345", uri="test.remote.server.com:206", response="5059a96c954981ceb94e17d667c8d3f8"
\r
80 Proxy-Connection: Keep-Alive
\r
82 GET /path/2060002 HTTP/1.1
\r
83 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
84 Host: test.remote.server.com:206
\r