Liking cljdoc? Tell your friends :D

buddy.auth.http

The http request response abstraction for builtin auth/authz backends.

The http request response abstraction for
builtin auth/authz backends.

find-header

(find-header headers header-name)

Looks up a header in a headers map case insensitively, returning the header map entry, or nil if not present.

Looks up a header in a headers map case insensitively,
returning the header map entry, or nil if not present.
sourceraw docstring

IRequestprotocol

-get-header
(-get-header req name)

Get a value of header.

Get a value of header.

source

redirect

(redirect url)
(redirect url status)

Returns a Ring compatible response for an HTTP 302 redirect.

Returns a Ring compatible response for an HTTP 302 redirect.
sourceraw docstring

response

(response body)
(response body status)
(response body status headers)

A multi arity function that creates a ring compatible response.

A multi arity function that creates
a ring compatible response.
sourceraw docstring

response?

(response? resp)
source

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

× close