17 <data1000 nocheck="yes">
18 HTTP/1.1 401 Authorization Required
\r
19 WWW-Authenticate: Basic
\r
20 Content-Type: text/plain
\r
24 <data1001 nocheck="yes">
26 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
27 Server: test-server/fake swsclose
\r
28 Content-Type: text/plain
\r
30 Location: http://goto.second.host.now/10881002
\r
35 <data1003 nocheck="yes">
37 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
38 Server: test-server/fake swsclose
\r
39 Content-Type: text/plain
\r
47 HTTP/1.1 401 Authorization Required
\r
48 WWW-Authenticate: Basic
\r
49 Content-Type: text/plain
\r
53 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
54 Server: test-server/fake swsclose
\r
55 Content-Type: text/plain
\r
57 Location: http://goto.second.host.now/10881002
\r
62 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
63 Server: test-server/fake swsclose
\r
64 Content-Type: text/plain
\r
79 HTTP, proxy with --anyauth and Location: to new host using location-trusted
82 http://first.host.it.is/we/want/that/page/10881000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth
87 # Verify data after the test has been "shot"
93 GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1
\r
94 Host: first.host.it.is
\r
96 Proxy-Connection: Keep-Alive
\r
98 GET http://first.host.it.is/we/want/that/page/10881000 HTTP/1.1
\r
99 Host: first.host.it.is
\r
100 Authorization: Basic aWFtOm15c2VsZg==
\r
102 Proxy-Connection: Keep-Alive
\r
104 GET http://goto.second.host.now/10881002 HTTP/1.1
\r
105 Host: goto.second.host.now
\r
106 Authorization: Basic aWFtOm15c2VsZg==
\r
108 Proxy-Connection: Keep-Alive
\r