dakrone/clj-http — pull request #143 by mknoszlig (2013-06-27 11:47:14+00:00)
Title: get {:as :stream} + ZlibCompression causes ClassCastException

I encountered a ClassCastException when trying to retrieve the following:

(get "http://www.3suisses.de" {:as :stream})

it seems that utils/inflate expects a byte array as input, however is passed a FilterInputStream when the option :as :stream is set. Attached is a patch that forces the conversion to byte array for the inflate function and gets rid of the ClassCastException.