curl / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
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.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-04-30