lookup> Content-Range

Content-Range

is sent in a single part 206 (Partial Content) response to indicate the partial range of the selected representation enclosed as the message payload, sent in each part of a multipart 206 response to indicate the range enclosed within each body part, and sent in 416 (Range Not Satisfiable) responses to provide information about the selected representation.

表示头RFC7233#4.2
NameContent-Range
Type表示头
SpecificationRFC7233#4.2

is sent in a single part 206 (Partial Content) response to indicate the partial range of the selected representation enclosed as the message payload, sent in each part of a multipart 206 response to indicate the range enclosed within each body part, and sent in 416 (Range Not Satisfiable) responses to provide information about the selected representation.

Content-Range: bytes 0-1023/146515

RFC7233#4.2

What does the Content-Range header do?

is sent in a single part 206 (Partial Content) response to indicate the partial range of the selected representation enclosed as the message payload, sent in each part of a multipart 206 response to indicate the range enclosed within each body part, and sent in 416 (Range Not Satisfiable) responses to provide information about the selected representation.

Is Content-Range a request or response header?

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

Related status codes