ToothlessGear/node-gcm — pull request #9 by hamidp (2012-07-26 16:51:21+00:00)
Title: Do not parse the buffer for failed requests.

This fixes an issue where GCM returns responses that aren't valid JSON, like the response below for 401 Unauthorized:

Unauthorized

Unauthorized

Error 401