ring.middleware.absolute-redirects
Middleware for replacing relative redirects with absolute redirects. Useful for clients that do not yet implement RFC 7231 (RFC 2616 does not allow relative redirects).
wrap-absolute-redirects
(wrap-absolute-redirects handler)
Middleware that converts redirects to relative URLs into redirects to absolute URLs. While many browsers can handle relative URLs in the Location header, RFC 2616 states that the Location header must contain an absolute URL.