code: function(value) {
        if (!arguments.length) return mimeType;
        mimeType = value == null ? null : value + "";
        return request;
      }
docs: If mimeType is non-null and no Accept header is set, a default is used.