Liking cljdoc? Tell your friends :D

ring.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-responseclj

(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-charsetclj

(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