From 69a03ce23ca24054f9a3c6f65f5b139539fc929c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 15 Jul 2008 03:36:38 +0000 Subject: Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it's added to DISABLED. --- tests/data/test1041 | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 tests/data/test1041 (limited to 'tests/data/test1041') diff --git a/tests/data/test1041 b/tests/data/test1041 new file mode 100644 index 000000000..825cdaf32 --- /dev/null +++ b/tests/data/test1041 @@ -0,0 +1,75 @@ + + + +HTTP +HTTP PUT +Resume +Content-Range + + + +# Server-side + + +HTTP/1.1 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Accept-Ranges: bytes +Content-Length: 0 +Connection: close +Content-Type: text/html + + + + +# Client-side + + +http + + +HTTP PUT with resume from end of already-uploaded file + + +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 + + +http://%HOSTIP:%HTTPPORT/1041 -Tlog/test1041.txt -C - + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +PUT /1041 HTTP/1.1 +Content-Range: bytes 0-99/100 +Host: %HOSTIP:%HTTPPORT +Accept: */* +Content-Length: 100 +Expect: 100-continue + +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 + + + -- cgit v1.2.3