lib/response.js
function (body) {
    var type = this.get('Content-Type');

    if (type === 'application/json')
      this._callback(JSON.parse(body || '{}'));
    else
      this._callback(body);
  }
function (body) {
    var type = this.get('Content-Type');

    if (type === 'application/json')
      this._callback(JSON.parse(body || '{}'));
    else
      this._callback(body);
  }
Formats response and calls initial callback

@param {String} body