From 50e690f2dda2e5e0563ecb5f740f1d7e9a118058 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 24 Nov 2003 16:17:18 +0000 Subject: [PATCH] test proxy CONNECT requiring basic auth but we don't provide any --- tests/data/Makefile.am | 2 +- tests/data/test94 | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 tests/data/test94 diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 54614f5..14f57aa 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -24,4 +24,4 @@ test62 test63 test64 test65 test66 test144 test145 test67 test68 test41 \ test40 test42 test69 test70 test71 test72 test73 test146 test505 \ test74 test75 test76 test77 test78 test147 test148 test506 test79 test80 \ test81 test82 test83 test84 test85 test86 test87 test507 test149 test88 \ -test89 test90 test508 test91 test92 test203 test93 +test89 test90 test508 test91 test92 test203 test93 test94 diff --git a/tests/data/test94 b/tests/data/test94 new file mode 100644 index 0000000..4a9b186 --- /dev/null +++ b/tests/data/test94 @@ -0,0 +1,42 @@ +# +# Server-side + + +HTTP/1.1 407 Needs proxy authentication +Server: test-server/fake swsclose yesyes +Proxy-Authenticate: Basic "oh please" +Connection: close + +bing + + + +# +# Client-side + + +http + + +HTTPS GET with failed proxy auth + + +https://test.anything.really.com:94 -x %HOSTIP:%HOSTPORT + + + +# +# Verify data after the test has been "shot" + + +56 + + +^User-Agent:.* + + +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 + + + -- 2.7.4