mikejs/ring-etag-middleware — pull request #1 by jeremy-w (2012-11-02 02:03:14+00:00)
Title: Fix ClassCastException with non-string request body

Previously, non-string bodies would cause a ClassCastException,
example:

user=> ((etag/wrap-etag
(fn [req] {:status 200
:body (clojure.java.io/input-stream
(.getBytes "hi" "utf-8"))}))
{})
ClassCastException java.io.BufferedInputStream cannot be cast
to java.lang.Class clojure.core/instance? (core.clj:140)