Liking cljdoc? Tell your friends :D

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).

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).
raw docstring

absolute-redirects-responseclj

(absolute-redirects-response response request)

Convert a response that redirects to a relative URLs into a response that redirects to an absolute URL. See: wrap-absolute-redirects.

Convert a response that redirects to a relative URLs into a response that
redirects to an absolute URL. See: wrap-absolute-redirects.
sourceraw docstring

wrap-absolute-redirectsclj

(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.

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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close