16
<data1000 nocheck="yes">
17
HTTP/1.1 401 Authorization Required
18
WWW-Authenticate: Basic
19
Content-Type: text/plain
23
<data1001 nocheck="yes">
25
Date: Thu, 09 Nov 2010 14:49:00 GMT
26
Server: test-server/fake swsclose
27
Content-Type: text/plain
29
Location: http://goto.second.host.now/10871002
34
<data1002 nocheck="yes">
36
Date: Thu, 09 Nov 2010 14:49:00 GMT
37
Server: test-server/fake swsclose
38
Content-Type: text/plain
46
HTTP/1.1 401 Authorization Required
47
WWW-Authenticate: Basic
48
Content-Type: text/plain
52
Date: Thu, 09 Nov 2010 14:49:00 GMT
53
Server: test-server/fake swsclose
54
Content-Type: text/plain
56
Location: http://goto.second.host.now/10871002
61
Date: Thu, 09 Nov 2010 14:49:00 GMT
62
Server: test-server/fake swsclose
63
Content-Type: text/plain
78
HTTP, proxy with --anyauth and Location: to new host
81
http://first.host.it.is/we/want/that/page/10871000 -x %HOSTIP:%HTTPPORT --user iam:myself --location --anyauth
86
# Verify data after the test has been "shot"
92
GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1
93
Host: first.host.it.is
95
Proxy-Connection: Keep-Alive
97
GET http://first.host.it.is/we/want/that/page/10871000 HTTP/1.1
98
Authorization: Basic aWFtOm15c2VsZg==
99
Host: first.host.it.is
101
Proxy-Connection: Keep-Alive
103
GET http://goto.second.host.now/10871002 HTTP/1.1
104
Host: goto.second.host.now
106
Proxy-Connection: Keep-Alive