docs: function(type) {
        type = type || defaultType;
        if (this.config) {
          this.config.contentType = type;
          mapInsensitive(this.requestHeaders, 'content-type', type);
          mapInsensitive(this.config.headers, 'content-type', type);
        }
        return this;
      }