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

IRequestcljprotocol

-get-headerclj

(-get-header req name)

Get a value of header.

Get a value of header.

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

response?clj

(response? resp)

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

× close