ring.middleware.content-type
(source)Middleware for automatically adding a content type to response maps.
For more info about this library see:
https://github.com/ring-clojure/ring/wikiPublic Variable | Short Description |
---|---|
content-type-response (clj) | Adds a content-type header to response. |
wrap-content-type (clj) | Middleware that adds a content-type header to the response if one is not set by the handler. |