curl / Mailing Lists / curl-library / Single Mail


Re: Ranged PUTs, Content-Range, and Content-Length

From: Daniel Stenberg via curl-library <>
Date: Fri, 3 May 2019 15:55:51 +0200 (CEST)

On Thu, 2 May 2019, Christopher Head via curl-library wrote:

>> CURLOPT_RANGE specifically as far as I know is only supposed to be
>> used for download, not upload (can anyone confirm?)
> And yet, looking at the source code, there are explicit conditionals to
> check for CURLOPT_RANGE and turn it into a Content-Range header in an
> upload.

As I mentioned in the issue [3814], curl does support ranged PUT requests
since basically the beginning of time and there are even tests that verify

3814 =

Received on 2019-05-03