From 30ec0af109f7225bfadb97d2a9b851000739f5da Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 29 Jan 2001 14:36:49 +0000 Subject: [PATCH] test case 33, HTTP PUT resume --- tests/data/Makefile.am | 3 ++- tests/data/command33.txt | 3 +++ tests/data/extra33.txt | 15 +++++++++++++++ tests/data/name33.txt | 1 + tests/data/prot33.txt | 18 ++++++++++++++++++ tests/data/reply33.txt | 7 +++++++ 6 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 tests/data/command33.txt create mode 100644 tests/data/extra33.txt create mode 100644 tests/data/name33.txt create mode 100644 tests/data/prot33.txt create mode 100644 tests/data/reply33.txt diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 511540f28..aa944501c 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -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 index 000000000..b56a0eaa3 --- /dev/null +++ b/tests/data/command33.txt @@ -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 index 000000000..ca4205b2a --- /dev/null +++ b/tests/data/extra33.txt @@ -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 index 000000000..5e6fcaddb --- /dev/null +++ b/tests/data/name33.txt @@ -0,0 +1 @@ +HTTP PUT resume diff --git a/tests/data/prot33.txt b/tests/data/prot33.txt new file mode 100644 index 000000000..08b6e5bf6 --- /dev/null +++ b/tests/data/prot33.txt @@ -0,0 +1,18 @@ +PUT /33 HTTP/1.0 +Content-Range: bytes 50-149/150 +User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled) +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* +Content-Length: 100 + +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 index 000000000..8f8cf8522 --- /dev/null +++ b/tests/data/reply33.txt @@ -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! + +