videosphere
    Preparing search index...
    • PUTs one multipart part via XHR, resolving with the normalized ETag on success. The R2 bucket CORS policy must expose ETag (ExposeHeaders) or completion will fail after all parts upload.

      Parameters

      • options: Omit<
            UploadPartWithRetryOptions,
            "isCancelled"
            | "sleepFn"
            | "xhrFactory"
            | "setXhr",
        > & {
            setXhr?: (xhr: XMLHttpRequest) => void;
            xhrFactory?: () => XMLHttpRequest;
        }

        Part upload parameters.

      Returns Promise<string>

      Normalized ETag from the response.