iriscouch/browser-request — pull request #28 by robertjd (2014-05-14 19:55:22+00:00)
Title: Don’t calllback with JSON parse error

It should be up to the caller to decide if a non-JSON body is actually an error state.

For example: you make a request where you expect a JSON response, but instead you get 204 No Content.

It should be up to your application to decide what that means.