Liking cljdoc? Tell your friends :D

zodiac.ext.headers

Zodiac extension for adding secure HTTP headers.

Zodiac extension for adding secure HTTP headers.
raw docstring

apiclj

Minimal headers for a JSON API server.

Minimal headers for a JSON API server.
sourceraw docstring

initclj

(init)
(init {:keys [headers] :or {headers web}})

Initialize the headers extension.

Options:

  • :headers - Map of header keywords to values. Use :remove as value to strip a header from responses. Default: web
Initialize the headers extension.

Options:
- :headers - Map of header keywords to values. Use :remove as value
             to strip a header from responses. Default: web
sourceraw docstring

secure-apiclj

Headers for an HTTPS API server.

Headers for an HTTPS API server.
sourceraw docstring

secure-webclj

Headers for an HTTPS web application.

Headers for an HTTPS web application.
sourceraw docstring

strictclj

Maximum security headers.

Maximum security headers.
sourceraw docstring

webclj

Headers for a standard web application.

Headers for a standard web application.
sourceraw docstring

wrap-headersclj

(wrap-headers handler {:keys [add-headers remove-headers]})

Ring middleware to add/remove security headers.

Performance: Pre-builds transform function at init to minimize per-request work.

Ring middleware to add/remove security headers.

Performance: Pre-builds transform function at init to minimize per-request work.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close