test case 33, HTTP PUT resume
authorDaniel Stenberg <daniel@haxx.se>
Mon, 29 Jan 2001 14:36:49 +0000 (14:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 29 Jan 2001 14:36:49 +0000 (14:36 +0000)
tests/data/Makefile.am
tests/data/command33.txt [new file with mode: 0644]
tests/data/extra33.txt [new file with mode: 0644]
tests/data/name33.txt [new file with mode: 0644]
tests/data/prot33.txt [new file with mode: 0644]
tests/data/reply33.txt [new file with mode: 0644]

index 511540f..aa94450 100644 (file)
@@ -61,4 +61,5 @@ command29.txt  error30.txt  name30.txt  prot30.txt   reply30.txt \
 command30.txt  name29.txt   prot29.txt  reply29.txt \
 command31.txt  name32.txt  reply31.txt      reply32.txt \
 command32.txt  prot31.txt  reply310001.txt  reply320001.txt \
-name31.txt     prot32.txt  reply310002.txt  reply320002.txt
+name31.txt     prot32.txt  reply310002.txt  reply320002.txt \
+command33.txt  extra33.txt    name33.txt     prot33.txt     reply33.txt
diff --git a/tests/data/command33.txt b/tests/data/command33.txt
new file mode 100644 (file)
index 0000000..b56a0ea
--- /dev/null
@@ -0,0 +1,3 @@
+http://%HOSTIP:%HOSTPORT/33 -Tdata/extra33.txt -C 50
+
+
diff --git a/tests/data/extra33.txt b/tests/data/extra33.txt
new file mode 100644 (file)
index 0000000..ca4205b
--- /dev/null
@@ -0,0 +1,15 @@
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
diff --git a/tests/data/name33.txt b/tests/data/name33.txt
new file mode 100644 (file)
index 0000000..5e6fcad
--- /dev/null
@@ -0,0 +1 @@
+HTTP PUT resume
diff --git a/tests/data/prot33.txt b/tests/data/prot33.txt
new file mode 100644 (file)
index 0000000..08b6e5b
--- /dev/null
@@ -0,0 +1,18 @@
+PUT /33 HTTP/1.0\r
+Content-Range: bytes 50-149/150\r
+User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+Content-Length: 100\r
+\r
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
+012345678
diff --git a/tests/data/reply33.txt b/tests/data/reply33.txt
new file mode 100644 (file)
index 0000000..8f8cf85
--- /dev/null
@@ -0,0 +1,7 @@
+HTTP/1.1 303 See Other
+Server: fake
+Location: /moo/moo/moo/320002
+
+This Location should be fetched with a GET!
+
+