(find-header req-or-resp header-name)
(find-header req-or-resp header-name not-found)
Looks up a header in a Ring response (or request) case insensitively,
returning the header map entry, or not-found
(default nil
) if no
matching header is present.
Looks up a header in a Ring response (or request) case insensitively, returning the header map entry, or `not-found` (default `nil`) if no matching header is present.
(get-header req-or-resp header-name)
(get-header req-or-resp header-name not-found)
Looks up a header in a Ring response (or request) case insensitively,
returning the value of the header, or not-found
(default nil
) if
no matching header is present.
Looks up a header in a Ring response (or request) case insensitively, returning the value of the header, or `not-found` (default `nil`) if no matching header is present.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close