r0man/cljs-http — pull request #14 by loganlinn (2014-06-23 22:53:39+00:00)
Title: Do not attempt to decode body for HEAD requests

Responses to HEAD requests are allowed to return Content-Type header for the
media type that would have been sent had the request been a GET.
However, we need not attempt to decode body because it is expected to not exist.

This fixes an error received when JSON.parse(null) is called because :body is
not in response.