← Back to headers
HTTP Header
Range
RequestRequests only part of a resource rather than the entire body.
HTTP header reference, syntax, examples, and developer usage.
What is the Range header?
The Range HTTP header is used to transmit metadata between a client and server as part of HTTP requests or responses.
HTTP headers define how content should be interpreted, cached, authenticated, secured, or processed by browsers and APIs.
Direction
This is a request header sent by the client to the server.
Syntax
Range: bytes=start-end
Example
Range: bytes=0-1023
Common use cases
- Video streaming
- Resumable downloads
- Partial content requests
Common mistakes
- Using the header in the wrong request or response context
- Sending invalid header values
- Incorrect header syntax
- Assuming the header automatically changes server behaviour