Skip to content

Commit a2d7af5

Browse files
authored
Merge pull request #10 from devurandom/patch-1
Fix comment referencing obsolete RFC 2616
2 parents e78dcf9 + c631be7 commit a2d7af5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ring/middleware/absolute_redirects.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838

3939
(defn wrap-absolute-redirects
4040
"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."
41+
absolute URLs. This was originally mandated by RFC 2616, but RFC 7231 and
42+
RFC 9110, which since obsoleted it, explicitly describe the semantics for
43+
relative URIs."
4444
[handler]
4545
(fn
4646
([request]

0 commit comments

Comments
 (0)