aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/test302
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test302')
-rw-r--r--tests/data/test30240
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/data/test302 b/tests/data/test302
new file mode 100644
index 0000000..1223f1c
--- /dev/null
+++ b/tests/data/test302
@@ -0,0 +1,40 @@
+<testcase>
+<info>
+<keywords>
+HTTPS
+HTTP GET
+HTTP CONNECT
+HTTP proxy
+FAILURE
+</keywords>
+</info>
+
+# Client-side
+<client>
+<features>
+SSL
+</features>
+<server>
+https
+</server>
+ <name>
+HTTPS GET over HTTP proxy fails
+ </name>
+ <command>
+-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test/slash/302
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+56
+</errorcode>
+<strip>
+^User-Agent:.*
+</strip>
+<data>
+</data>
+</verify>
+</testcase>