From 2c0b65d37b62e4a089d1816197126f5a3f36a09a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Oct 2009 22:38:21 +0000 Subject: Added test case 566 in an attempt to repeat bug 2884561 (http://curl.haxx.se/bug/view.cgi?id=2884561) but it seems to work for me... --- tests/data/test566 | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tests/data/test566 (limited to 'tests/data/test566') diff --git a/tests/data/test566 b/tests/data/test566 new file mode 100644 index 000000000..95da61d2d --- /dev/null +++ b/tests/data/test566 @@ -0,0 +1,57 @@ + + + +HTTP +HTTP GET + + +# +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 0 +Connection: close +Content-Type: text/html +Funny-head: yesyes + + + + +# Client-side + + +http + +# tool is what to use instead of 'curl' + +lib566 + + + +HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer + + +http://%HOSTIP:%HTTPPORT/566 log/ip566 + + + +# +# Verify data after the test has been "shot" + + +CL: 0 + + +GET /566 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.3