lookup> Location

Location

is used in some responses to refer to a specific resource in relation to the response.

响应头RFC7231#7.1.2
NameLocation
Type响应头
SpecificationRFC7231#7.1.2

is used in some responses to refer to a specific resource in relation to the response.

Location: https://example.com/new-location

RFC7231#7.1.2

What does the Location header do?

is used in some responses to refer to a specific resource in relation to the response.

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

Related methods

Related headers