summaryrefslogtreecommitdiff
path: root/tests/data/test66
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-23 09:46:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-23 09:46:19 +0000
commitf488874ff5b804c2b088ddda71ec275be3dce52d (patch)
tree01d6ed58d20eb8474a3593be9bccd05c9fbe9f8d /tests/data/test66
parent23258648da3b348be3334298737781c230b7650c (diff)
downloadcurl-f488874ff5b804c2b088ddda71ec275be3dce52d.tar.gz
test 66 returns one line of data with no header (HTTP)
Diffstat (limited to 'tests/data/test66')
-rw-r--r--tests/data/test6634
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/test66 b/tests/data/test66
new file mode 100644
index 000000000..45ac2f144
--- /dev/null
+++ b/tests/data/test66
@@ -0,0 +1,34 @@
+# Server-side
+<reply>
+<data>
+no headers
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+http
+</server>
+ <name>
+HTTP GET without headers in the response
+ </name>
+ <command>
+http://%HOSTIP:%HOSTPORT/66
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /66 HTTP/1.1
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
+</protocol>
+</verify>