dakrone/clj-http — pull request #79 by roman (2012-06-12 22:58:38+00:00)
Title: Moving the response output coercion logic to a multimethod  

This approach helps extensibility by allowing clients of this library to add more `:as` coercion options. They only would need to extend the `coerce-response-output` multimethod using the value of the `:as` keyword as the dispatching value.

(defmethod coerce-response-output :xml [as {:keys [status body] :as resp}]
; logic for parsing the body as an XML using clojure.xml/parse here)

This way we don't need to do a branch or ask for pull requests for different coercions that are for in-house development.