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

find-headerclj

(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

IRequestcljprotocol

-get-headerclj

(-get-header req name)

Get a value of header.

Get a value of header.
source

redirectclj

(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

responseclj

(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?clj

(response? resp)
source

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

× close