Skip to main content

Accept-Ranges

ResponseActive

Accept-Ranges advertises whether the server supports range requests for a resource. 'bytes' means the server accepts byte-range requests (enabling resumable downloads and video seeking). 'none' means range requests are not supported. When absent, clients may still try range requests – many servers support them without advertising.

Accept-Ranges: bytes | none

Description

Accept-Ranges: bytes enables resumable downloads and partial content delivery. When a client sees this header, it knows it can resume an interrupted download using Range: bytes=<offset>-. Video players use this for seek operations. Static file servers (Nginx, Apache, Caddy, AWS S3) all serve Accept-Ranges: bytes by default. Dynamic responses that stream from a database typically return Accept-Ranges: none.

Examples

Static file server
http
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 52428800
No range support
http
HTTP/1.1 200 OK
Accept-Ranges: none

Related

Specification

RFC 9110Accept-Ranges specification →