Does ring automatically add a :content-type
key to the request based on the Content-Type
in :headers
, or does anyone know of a ring server or middleware that does this?
is anyone aware of an async ring middleware to log requests and responses?
@ghopper The :content-type
key is deprecated in favour of ring.util.request/content-type
@plins I wrote one for Duct that you could easily adapt: https://github.com/duct-framework/module.web/blob/master/src/duct/middleware/web.clj#L12