From 2ae6c47d5dfdff2d6d884284beb6b0322e8ac671 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 2 Oct 2010 00:22:48 +0200 Subject: HTTP: remove special case for 416 It was pointed out that the special case libcurl did for 416 was incorrect and wrong. 416 is not really different to other errors so the response body must be handled like for other errors/http responses. Reported by: Chris Smowton Bug: http://curl.haxx.se/bug/view.cgi?id=3076808 --- tests/data/test194 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/data/test194') diff --git a/tests/data/test194 b/tests/data/test194 index 3ccc01ae5..582f197f7 100644 --- a/tests/data/test194 +++ b/tests/data/test194 @@ -17,11 +17,12 @@ Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4. Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT ETag: "ab57a-507-3f9968f3" Accept-Ranges: bytes -Content-Length: 87 +Content-Length: 4 Content-Range: bytes */87 Content-Type: image/gif Connection: close +bad -- cgit v1.2.3