code: function objectRequestParams(method, name, options) {
      options = options || {};
      name = this._objectName(name);
      const authResource = `/${this.options.bucket}/${name}`;
      const params = {
        name,
        method,
        host: this.options.imageHost,
        resource: `/${name}`,
        timeout: options.timeout,
        authResource,
        ctx: options.ctx
      };
  
      if (options.headers) {
        params.headers = options.headers;
      }
      return params;
    }
docs: /* istanbul ignore next