wrap-uncaught-errors
to avoid anonymous functions, and ensure streams are closedwrap-accepts-content-type
wrap-accepts-json
wrap-content-type
wrap-content-type-json
wrap-json-parse-exception-handler
wrap-add-cache-headers
middleware so that
it adds a cache-control
header with the "no-store" directive instead of
the "private, max-age=0, no-cache" directives.wrap-params
middleware with custom implementation of the
params-request
function. This was copied from the puppetserver repo to this
more-central location. It is documented in the README.wrap-add-x-content-nosniff
wrap-add-csp
{:type ... :message ...}
to {:kind ... :msg ...}
for
exceptions and error responses.core
namespace into new utils
namespace.:always-validate
metadata
set for schema validation.wrap-request-logging
wrap-response-logging
wrap-service-unavailable
wrap-bad-request
wrap-data-errors
wrap-schema-errors
wrap-uncaught-errors
wrap-proxy
and its handling of redirects.:ssl-client-cn
key
to the request map if a :ssl-client-cert
is present.X-Frame-Options: DENY
proxied-path
argument,
the entirety of the request uri's path will be appended onto
the path of remote-uri-base
.wrap-add-cache-headers
,
that adds cache-control
headers to GET
and PUT
requests.proxied-path
argument in wrap-proxy
function to
be a regular expressionCan you improve this documentation? These fine people already did:
Justin Stoller, Molly Waggett, Steve Axthelm, rileynewton, Preben Ingvaldsen, jonathannewman, Kevin Corcoran, Anna Lawley & Molly McGloneEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close