lookup> Accept-Ranges

Accept-Ranges

allows a server to indicate that it supports range requests for the target resource.

响应头RFC7233#2.3
NameAccept-Ranges
Type响应头
SpecificationRFC7233#2.3

allows a server to indicate that it supports range requests for the target resource.

Accept-Ranges: bytes

RFC7233#2.3

What does the Accept-Ranges header do?

allows a server to indicate that it supports range requests for the target resource.

Is Accept-Ranges a request or response header?

It is classified as a response header and can appear in requests or responses depending on context.

Related status codes