2 # Test case inspired by this question on stackoverflow:
4 # http://stackoverflow.com/questions/10017165/use-libcurl-with-bluecoat-cookie-proxy
18 HTTP/1.1 407 Me not know you swsbounce
\r
19 Date: Tue, 25 Sep 2001 19:37:44 GMT
\r
20 Content-Type: text/html
\r
21 Set-Cookie: proxycookie=weirdo; Path=/
\r
22 Cache-control: private
\r
24 Proxy-Authenticate: Basic realm="moo on you"
\r
26 This server reply is for testing a simple cookie test case...
31 Content-Type: text/html
\r
38 HTTP/1.1 407 Me not know you swsbounce
\r
39 Date: Tue, 25 Sep 2001 19:37:44 GMT
\r
40 Content-Type: text/html
\r
41 Set-Cookie: proxycookie=weirdo; Path=/
\r
42 Cache-control: private
\r
44 Proxy-Authenticate: Basic realm="moo on you"
\r
47 Content-Type: text/html
\r
62 HTTP --proxy-anyauth and 407 with cookies
65 -U myname:mypassword -x %HOSTIP:%HTTPPORT http://z.x.com/1331 --proxy-anyauth -c log/dump1331
69 # Verify data after the test has been "shot"
75 GET http://z.x.com/1331 HTTP/1.1
\r
78 Proxy-Connection: Keep-Alive
\r
80 GET http://z.x.com/1331 HTTP/1.1
\r
82 Proxy-Authorization: Basic bXluYW1lOm15cGFzc3dvcmQ=
\r
84 Proxy-Connection: Keep-Alive
\r
85 Cookie: proxycookie=weirdo
\r