dakrone/clj-http — pull request #52 by sharat87 (2012-03-13 16:06:52+00:00)
Title: Added support for json in body for POST and PUT.

Currently body content is always encoded as query-params, and `:content-type` always set to the associated value for that.

This patch will support json, while query-params is still the default. If `:content-type` is set to `:json`, then `:form-params` is turned to a json string and set as the `:body`.

PS - I'm not sure of the indentation and coding style that you prefer, so you may want to refactor/rewrite this as you see fit.

Thanks.