code: function(xhr, req) {
    var data = xhr.responseText || ''
      , status = +xhr.status
      , headers = {};
  
    if (status === 1223) status = 204;
  
    (xhr.getAllResponseHeaders() || '').replace(
      /(?:\r?\n|^)([^:\r\n]+): *([^\r\n]+)/g, 
      function($0, $1, $2) {
        headers[$1.toLowerCase()] = $2;
      }
    );
  
    this.rawBody = data;
  
    var type = headers['content-type'];
    if (type) {
      if (~type.indexOf('html')) {
        data = DOM(data);
      } else if (~type.indexOf('json')) {
        try {
          data = JSON.parse(data);
        } catch(e) {
          data = {};
          this._error = true;
        }
      } else if (~type.indexOf('javascript') && io.eval) {
        var script = document.createElement('script');
        DOM.setText(script, data);
        head.insertBefore(script, head.firstChild);
        data = null;
      }
    }
  
    this.url = req.url;
    this.statusCode = status;
    this.headers = headers;
    this.body = data;
  }
docs: Response (IncomingMessage)