dakrone/clj-http — pull request #42 by r0man (2012-02-05 18:14:06+00:00)
Title: Ring Spec incompatibility

Hi Dakrone,

the Ring spec says this about the :scheme option in the request map:

:scheme
(Required, Keyword)
The transport protocol, must be one of :http or :https.

The clj-http library is using strings for :scheme. This is not a
big deal if you use the higer level API fns suche as get, post,
etc, since they parse the :url option in the request map.

I generate some request maps with some macros and use those both
in the context of clj-http, and ring itself. When passing a
request map to clj-http that contains :scheme as a keyword it
crashes, because a url parsing fails with ":http://example.com".

Would be nice if you could merge this into master, to be more
compatible with ring.

Thx, Roman.