Liking cljdoc? Tell your friends :D

macchiato.middleware.default-charset

Middleware for automatically adding a charset to the content-type header in response maps.

Middleware for automatically adding a charset to the content-type header in
response maps.
raw docstring

default-charset-responsecljs

(default-charset-response response charset)

Add a default charset to a response if the response has no charset and requires one. See: wrap-default-charset.

Add a default charset to a response if the response has no charset and
requires one. See: wrap-default-charset.
sourceraw docstring

wrap-default-charsetcljs

(wrap-default-charset handler charset)

Middleware that adds a charset to the content-type header of the response if one was not set by the handler.

Middleware that adds a charset to the content-type header of the response if
one was not set by the handler.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close