mirror of
https://github.com/curl/curl.git
synced 2026-07-23 20:07:17 +03:00
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:
parent
15622e69a9
commit
2ae6c47d5d
3 changed files with 5 additions and 16 deletions
|
|
@ -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
|
||||
</data>
|
||||
|
||||
</reply>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue