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
This commit is contained in:
Daniel Stenberg
2010-10-02 00:22:48 +02:00
parent 15622e69a9
commit 2ae6c47d5d
3 changed files with 5 additions and 16 deletions

View File

@@ -17,10 +17,11 @@ 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
bad
</data>
</reply>