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/test1040 | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 tests/data/test1040 (limited to 'tests/data/test1040') diff --git a/tests/data/test1040 b/tests/data/test1040 new file mode 100644 index 000000000..2466e7050 --- /dev/null +++ b/tests/data/test1040 @@ -0,0 +1,79 @@ + +# Similar to test92 + + +HTTP +HTTP GET +Resume + + + +# Server-side + + +HTTP/1.1 416 Invalid range +Connection: close +Content-Length: 0 + + + +# The file data that exists at the start of the test must be included in +# the verification. + +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +HTTP/1.1 416 Invalid range +Connection: close +Content-Length: 0 + + + + + +# Client-side + + +http + + +HTTP GET with resume from end of entirely-downloaded file + + +http://%HOSTIP:%HTTPPORT/1040 -C - + + +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 +012345678 + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1040 HTTP/1.1 +Range: bytes=100- +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3