curl-library
Re: [PATCH] --ignore-content-length
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 24 Aug 2005 00:13:39 +0200 (CEST)
Date: Wed, 24 Aug 2005 00:13:39 +0200 (CEST)
On Tue, 23 Aug 2005, Toby Peterson wrote:
> Here's a fairly simple patch (against HEAD) to add a --ignore-content-length
> option, and corresponding CURLOPT_IGNORE_CONTENT_LENGTH. This will make it
> easier to download files from Apache 1.x servers that are (still!) serving
> files larger than 4 GB.
So the Content-Length: header of such a file on such a server is completely
bogus?
Out of curiousity, how are you using this option? Are you always enabling this
(and won't that be bad?) or have you found a way to detect this badness and
then retry the request?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-08-24