LocationHeader
LocationHeader, more commonly referred to in technical contexts as the Location header, is an HTTP response header field that carries a URI pointing to the next resource the client should use. It is defined in RFC 7231 as a mechanism to indicate the preferred location of a resource after a request. The value of the header is a URI reference, which may be absolute or relative.
LocationHeader is most widely used to support resource redirection. In redirect responses, such as those with
Another common use is in the response to a request that creates a new resource. In a
Syntax and resolution: The Location header value must be a URI Reference. It can be absolute or
Security and design considerations: Location headers can enable user redirection, which, if misused, may lead to