lookup> Content-Location

Content-Location

references a URI that can be used as an identifier for a specific resource corresponding to the representation in this message's payload.

表示头RFC7231#3.1.4.2
NameContent-Location
Type表示头
SpecificationRFC7231#3.1.4.2

references a URI that can be used as an identifier for a specific resource corresponding to the representation in this message's payload.

Content-Location: /api/users/1

RFC7231#3.1.4.2

What does the Content-Location header do?

references a URI that can be used as an identifier for a specific resource corresponding to the representation in this message's payload.

Is Content-Location 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