aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/test83
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test83')
-rw-r--r--tests/data/test8319
1 files changed, 13 insertions, 6 deletions
diff --git a/tests/data/test83 b/tests/data/test83
index 0ada5d1a..120bcc6a 100644
--- a/tests/data/test83
+++ b/tests/data/test83
@@ -21,6 +21,10 @@ Content-Length: 9
contents
</data>
+<connect>
+HTTP/1.1 200 Mighty fine indeed
+
+</connect>
<datacheck>
HTTP/1.1 200 Mighty fine indeed
@@ -40,12 +44,13 @@ contents
<client>
<server>
http
+http-proxy
</server>
<name>
HTTP over proxy-tunnel with site authentication
</name>
<command>
-http://%HOSTIP:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%HTTPPORT --user iam:myself
+http://test.83:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%PROXYPORT --user 'iam:my:;self'
</command>
</client>
@@ -55,16 +60,18 @@ http://%HOSTIP:%HTTPPORT/we/want/that/page/83 -p -x %HOSTIP:%HTTPPORT --user iam
<strip>
^User-Agent:.*
</strip>
-<protocol>
-CONNECT %HOSTIP:%HTTPPORT HTTP/1.1
+<proxy>
+CONNECT test.83:%HTTPPORT HTTP/1.1
+Host: test.83:%HTTPPORT
User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3
-Host: %HOSTIP:%HTTPPORT
Proxy-Connection: Keep-Alive
+</proxy>
+<protocol>
GET /we/want/that/page/83 HTTP/1.1
-Authorization: Basic aWFtOm15c2VsZg==
+Host: test.83:%HTTPPORT
+Authorization: Basic aWFtOm15OjtzZWxm
User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3
-Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>