HTTP headers
HTTP byte-range planner
Resolve closed, open-ended and suffix byte ranges against a known length.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Resolve each requested range, clip its end to length − 1 and identify unsatisfiable entries. Output inclusive Content-Range values.
For 1000 bytes, bytes=0-99,-50 selects 0–99 and 950–999: 150 bytes across two ranges.
Limits
This does not fetch a URL or build a multipart response. Ranges stay separate, so overlapping bytes are counted once per range. If-Range and server range policy are excluded.