Liking cljdoc? Tell your friends :D

co.gaiwan.oak.lib.ring-csp

Middleware that sets a CSP policy.

CSP policy is configured through :http/csp-policy. The special value nonce is replaced with nonce-<per-request-generated-nonce>, which can be accessed through *csp-nonce*

Middleware that sets a CSP policy.

CSP policy is configured through `:http/csp-policy`. The special value `nonce`
is replaced with `nonce-<per-request-generated-nonce>`, which can be accessed
through `*csp-nonce*`
raw docstring

*csp-nonce*clj


wrap-content-security-policyclj

(wrap-content-security-policy h)

Add the Content-Security-Policy header, see configuration.

Add the Content-Security-Policy header, see configuration.
raw 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