aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test47
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-09 11:34:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-09 11:34:49 +0000
commit3dcdcfc5720ca210e28d3278a9c62b7d91c80b51 (patch)
tree32724de0f0692bce1659f3c677aae6782bf959ee /tests/data/test47
parent9f8c51cbd8816203f86d8993c85e841e4cfd4320 (diff)
added test 47 - enforced http 1.0 request
Diffstat (limited to 'tests/data/test47')
-rw-r--r--tests/data/test4738
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/data/test47 b/tests/data/test47
new file mode 100644
index 000000000..f6831b780
--- /dev/null
+++ b/tests/data/test47
@@ -0,0 +1,38 @@
+#
+# Server-side
+<reply name="47">
+<data>
+HTTP/1.0 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+
+<foo> within foo </foo>
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+ <name>
+simple HTTP 1.0 GET
+ </name>
+ <command>
+http://%HOSTIP:%HOSTPORT/47 -0
+</command>
+</test>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /47 HTTP/1.0
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
+</protocol>
+</verify>
+