]> granicus.if.org Git - curl/commitdiff
test 66 returns one line of data with no header (HTTP)
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 May 2003 09:46:19 +0000 (09:46 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 May 2003 09:46:19 +0000 (09:46 +0000)
tests/data/Makefile.am
tests/data/test66 [new file with mode: 0644]

index bb987e4b79cfbaea4751daaef8129b61c9a66898..010b9a89e74f775609a41e510afdb6bd7f294034 100644 (file)
@@ -20,4 +20,4 @@ test130  test131  test132  test133  test134 test135 test403 test305 \
 test49 test50 test51 test52 test53 test54 test55 test56 \
 test500 test501 test502 test503 test504 test136 test57 test137 test138 \
 test58 test139 test140 test141 test59 test60 test61 test142 test143 test62 \
-test63 test64 test65
+test63 test64 test65 test66
diff --git a/tests/data/test66 b/tests/data/test66
new file mode 100644 (file)
index 0000000..45ac2f1
--- /dev/null
@@ -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\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
+</protocol>
+</verify>