DevKits

Ranges · Response header

Accept-Ranges

Indicates the server supports range requests.

What is Accept-Ranges?

Advertises which range unit the server supports (usually `bytes`) or `none` if range is not supported. Advertised on responses so clients know they can request partial content.

Typical usage

Set by static file servers and video-serving CDNs.

Examples

Accept-Ranges: bytes

Specification

RFC 9110 §14.3

Frequently asked questions

What is the Accept-Ranges HTTP header?

Advertises which range unit the server supports (usually `bytes`) or `none` if range is not supported. Advertised on responses so clients know they can request partial content.

Is Accept-Ranges a request or response header?

Accept-Ranges is a response header — the server sends it to the client. Set by static file servers and video-serving CDNs.

What does a Accept-Ranges header look like?

A typical Accept-Ranges header looks like: Accept-Ranges: bytes.

Related headers

Work with this header