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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close