summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-13 10:56:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-13 10:56:23 +0000
commite9b7548dd6b4a8c93444bcbc8c1f4a61c32c35a1 (patch)
treef580276e70c30f4cac8b87fc7e8255d681846a6c
parent010cde0a4a8a15903fce425c3763a38ef657b78e (diff)
downloadgnurl-e9b7548dd6b4a8c93444bcbc8c1f4a61c32c35a1.tar.gz
gnurl-e9b7548dd6b4a8c93444bcbc8c1f4a61c32c35a1.tar.bz2
gnurl-e9b7548dd6b4a8c93444bcbc8c1f4a61c32c35a1.zip
request a page from HTTPS but get no headers
-rw-r--r--tests/data/test30651
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/data/test306 b/tests/data/test306
new file mode 100644
index 000000000..bb07b524d
--- /dev/null
+++ b/tests/data/test306
@@ -0,0 +1,51 @@
+#
+# Server-side
+<reply>
+<data>
+No headers at all, just data
+
+Let's get
+
+a little
+
+so that
+
+we
+
+have
+
+some
+
+test
+
+data to
+
+verify
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+ <name>
+HTTPS GET, receive no headers only data!
+ </name>
+ <command>
+-k https://%HOSTIP:%HTTPSPORT/306
+</command>
+</test>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /306 HTTP/1.1
+Host: 127.0.0.1:8433
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
+</protocol>
+</verify>