aacerox/node-rest-client — pull request #9 by wwwdata (2013-10-24 15:38:51+00:00)
Title: improve json content type detection

Hi,

I am using your package and think it is great. What I always wondered about is why it wasn't able to automatically parse a json response until I read the code. I replaced the json checker with a regular expression. I think that the same could be done for the xml detection as well.