HTTPREF
← Back to headers

HTTP Header

Accept-Ranges

Response

Indicates that the server supports range requests for the resource.

HTTP header reference, syntax, examples, and developer usage.

What is the Accept-Ranges header?

The Accept-Ranges 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 response header sent by the server to the client.

Syntax

Accept-Ranges: bytes

Example

Accept-Ranges: bytes

Common use cases

  • Streaming media
  • Resumable downloads
  • Partial content support

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

Related headers