Multipart HTTP range requests on r2 not working

I’m trying to use multipart http range requests on my r2 bucket but I always get back a 400 Bad Request when specifying multiple byte ranges. Single ranges work fine and I get back the expected partial results of the file with 206 Partial Content


Example curl:
curl "R2_BUCKET_URL" -H 'Range: bytes=0-1000, 2000-3000' -vvv -o /dev/null

Are there any other headers that must be set to make multipart range requests work with r2 ?

I just created a cache rule to bypass the cache for this subdomain entirely but the results are the same: single range requests work, multiple range requests error out with 400 Bad Request.

Is this a bug or a missing feature of cloudflare R2 ?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.