Zodiac extension for adding secure HTTP headers.
Zodiac extension for adding secure HTTP headers.
Minimal headers for a JSON API server.
Minimal headers for a JSON API server.
(init)(init {:keys [headers] :or {headers web}})Initialize the headers extension.
Options:
Initialize the headers extension.
Options:
- :headers - Map of header keywords to values. Use :remove as value
to strip a header from responses. Default: webHeaders for an HTTPS web application.
Headers for an HTTPS web application.
Headers for a standard web application.
Headers for a standard web application.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |