Skip to content

IETF RFC 7231 Section 7.1.2 - handle relative location in redirect

An obsolete version of the HTTP 1.1 specifications (IETF RFC 2616) required a complete absolute URI for redirection.[2] The IETF HTTP working group found that the most popular web browsers tolerate the passing of a relative URL[3] and, consequently, the updated HTTP 1.1 specifications (IETF RFC 7231) relaxed the original constraint, allowing the use of relative URLs in Location headers.[4]

ref: https://en.wikipedia.org/wiki/HTTP_location

https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.2

Closes #486 (closed) and #487 Fixes #498 (closed)

Merge request reports

Loading