We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e78dcf9 + c631be7 commit a2d7af5Copy full SHA for a2d7af5
src/ring/middleware/absolute_redirects.clj
@@ -38,9 +38,9 @@
38
39
(defn wrap-absolute-redirects
40
"Middleware that converts redirects to relative URLs into redirects to
41
- absolute URLs. While many browsers can handle relative URLs in the Location
42
- header, RFC 2616 states that the Location header must contain an absolute
43
- URL."
+ absolute URLs. This was originally mandated by RFC 2616, but RFC 7231 and
+ RFC 9110, which since obsoleted it, explicitly describe the semantics for
+ relative URIs."
44
[handler]
45
(fn
46
([request]
0 commit comments