(ajax-request? headers)
Returns true if X-Requested-With header was found with XMLHttpRequest value, returns false otherwise.
Returns true if X-Requested-With header was found with XMLHttpRequest value, returns false otherwise.
(error->edn http-error & [headers state landing-url])
Tranforms error into http response.
In case of 401 (unauthorized) and 403 (forbidden) error codes additional WWW-Authenticate header is returned as described in https://tools.ietf.org/html/rfc6750#section-3
Tranforms error into http response. In case of 401 (unauthorized) and 403 (forbidden) error codes additional WWW-Authenticate header is returned as described in https://tools.ietf.org/html/rfc6750#section-3
(error->redirect http-error state redirect-uri)
Tranforms error into http redirect response. Error info is added as query param as described in 4.1.2.1. Error Response of OAuth2 spec
Tranforms error into http redirect response. Error info is added as query param as described in 4.1.2.1. Error Response of OAuth2 spec
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close