curl / Mailing Lists / curl-library / Single Mail


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

From: Daniel Stenberg via curl-library <>
Date: Tue, 30 Apr 2019 12:20:22 +0200 (CEST)

On Tue, 30 Apr 2019, Ray Satiro 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?),

This is correct. There's actually no standard way to do ranged "uploads" for
HTTP, just various more or less working hacks.

PATCH (RFC 5789) was the fix for that.

Received on 2019-04-30