aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-19 11:56:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-19 11:56:23 +0000
commit83da58ce912c4de0cff3e0a5906a4a624c630f61 (patch)
tree9558e05d2e658b89b83de35340a7b359f42b89c3 /tests
parent45cc78fdbc0e01d744156e853ea80de43d672f2b (diff)
added test 37
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test3736
2 files changed, 37 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 0b019b5d2..9b2f87443 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -13,4 +13,4 @@ test102 test11 test117 test124 test19 test23 test33 test8 \
test103 test110 test118 test125 test2 test24 test4 test9 \
test104 test111 test119 test13 test20 test25 test400 test47 \
test105 test112 test12 test14 test200 test26 test43 test46 \
-test34 test36
+test34 test36 test37
diff --git a/tests/data/test37 b/tests/data/test37
new file mode 100644
index 000000000..18df0c706
--- /dev/null
+++ b/tests/data/test37
@@ -0,0 +1,36 @@
+#
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+ <name>
+HTTP GET with nothing returned from server
+ </name>
+ <command>
+http://%HOSTIP:%HOSTPORT/37
+</command>
+</test>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+52
+</errocode>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /37 HTTP/1.1
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
+</protocol>
+</verify>
+