code: function () {
          var headers = [];
          Ext.Object.each(this.responseHeaders, function (name, value) {
              headers.push(name + ': ' + value);
          });
          return headers.join('\x0d\x0a');
      }
docs: As in XMLHttpRequest.