ring

2017-07-25T18:09:00.720106Z

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?

plins 2017-07-25T20:19:06.163672Z

is anyone aware of an async ring middleware to log requests and responses?

2017-07-25T23:55:03.263084Z

@ghopper The :content-type key is deprecated in favour of ring.util.request/content-type

2017-07-25T23:56:11.279674Z

@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