aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test99
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-01 16:18:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-01 16:18:40 +0000
commitd6eb28400baa2cf1522bdc1c3566fb89ae3b3f69 (patch)
treebb859ab595799f3849679209045c9279da03104f /tests/data/test99
parent526c61c6574db5fcc1fc9fd7981f5192f082573e (diff)
added test 99, very basic initial large file test
Diffstat (limited to 'tests/data/test99')
-rw-r--r--tests/data/test9948
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test99 b/tests/data/test99
new file mode 100644
index 000000000..379e5a58a
--- /dev/null
+++ b/tests/data/test99
@@ -0,0 +1,48 @@
+#
+# Server-side
+<reply>
+<data>
+HTTP/1.1 404 Nah
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Connection: close
+Content-Length: 13
+Funny-head: yesyes
+
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<features>
+large_file
+</features>
+<server>
+http
+</server>
+ <name>
+HTTP GET with large-file resume point and failed resume
+ </name>
+ <command>
+http://%HOSTIP:%HOSTPORT/99 -C 9999999999
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+33
+</errorcode>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /99 HTTP/1.1
+Range: bytes=9999999999-
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: */*
+
+</protocol>
+</verify>