diff options
Diffstat (limited to 'tests/data/test80')
-rw-r--r-- | tests/data/test80 | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/tests/data/test80 b/tests/data/test80 index a405af7..147a6aa 100644 --- a/tests/data/test80 +++ b/tests/data/test80 @@ -24,6 +24,10 @@ Content-Length: 9 contents </data> +<connect> +HTTP/1.1 200 Mighty fine indeed
+
+</connect> <datacheck> HTTP/1.1 200 Mighty fine indeed
@@ -43,12 +47,13 @@ contents <client> <server> http +http-proxy </server> <name> -HTTP 1.0 CONNECT with proxytunnel and host Basic authentication +HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication </name> <command> -http://%HOSTIP:%HTTPPORT/we/want/that/page/80 -p --proxy1.0 %HOSTIP:%HTTPPORT --user iam:myself --proxy-user youare:yourself +http://test.80:%HTTPPORT/we/want/that/page/80 -p --proxy1.0 %HOSTIP:%PROXYPORT --user iam:myself --proxy-user youare:yourself </command> </client> @@ -58,17 +63,19 @@ http://%HOSTIP:%HTTPPORT/we/want/that/page/80 -p --proxy1.0 %HOSTIP:%HTTPPORT -- <strip> ^User-Agent:.* </strip> -<protocol> -CONNECT %HOSTIP:%HTTPPORT HTTP/1.0
-Host: %HOSTIP:%HTTPPORT
+<proxy> +CONNECT test.80:%HTTPPORT HTTP/1.0
+Host: test.80:%HTTPPORT
Proxy-Authorization: Basic eW91YXJlOnlvdXJzZWxm
User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3
Proxy-Connection: Keep-Alive
+</proxy> +<protocol> GET /we/want/that/page/80 HTTP/1.1
+Host: test.80:%HTTPPORT
Authorization: Basic aWFtOm15c2VsZg==
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> |