Doesn't parse JSON in HTTPromise req.onerror.