diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-11-24 16:17:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-11-24 16:17:18 +0000 |
commit | 50e690f2dda2e5e0563ecb5f740f1d7e9a118058 (patch) | |
tree | c857c114b6a0704986ed4381cf1b18a2426e985b /tests/data/test94 | |
parent | 2f9f843e8a96d1ea90cc721984bc7f147d910811 (diff) |
test proxy CONNECT requiring basic auth but we don't provide any
Diffstat (limited to 'tests/data/test94')
-rw-r--r-- | tests/data/test94 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/test94 b/tests/data/test94 new file mode 100644 index 000000000..4a9b18689 --- /dev/null +++ b/tests/data/test94 @@ -0,0 +1,42 @@ +# +# Server-side +<reply> +<data nocheck=1> +HTTP/1.1 407 Needs proxy authentication +Server: test-server/fake swsclose yesyes +Proxy-Authenticate: Basic "oh please" +Connection: close + +bing +</data> +</reply> + +# +# Client-side +<client> +<server> +http +</server> + <name> +HTTPS GET with failed proxy auth + </name> + <command> +https://test.anything.really.com:94 -x %HOSTIP:%HOSTPORT +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<errorcode> +56 +</errorcode> +<strip> +^User-Agent:.* +</strip> +<protocol> +CONNECT test.anything.really.com:94 HTTP/1.0
+User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4
+
+</protocol> +</verify> |