The response carries only the byte range you asked for with a Range header, described by Content-Range. This is how resumable downloads and media seeking work.
Defined in RFC 9110 §15.3.7 — 206 Partial Content · MDN reference
Video and audio scrubbing, resumable downloads, and any client that asks for part of a large file with a Range header.
Verify the range you receive is the range you requested, and that Content-Range agrees with the body length — off-by-one errors here corrupt files silently.
Check the Content-Range header against what you asked for rather than assuming the server honoured the exact range. A server may return a different range, or ignore the request and answer 200 with the whole entity — which is legal, and will quietly blow up a client sized for a chunk.
1 endpoint in this playground answers with 206. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/storage/v1/objects/{key} — Partial content (Object Storage API) Open & run this endpointAll HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated