Fetch implementation using XMLHttpRequest for browsers that don't support fetch with upload progress.
When to use xhrFetch vs withUploadProgress:
Note: xhrFetch uses XMLHttpRequest which is browser-only and will throw in Node.js, Deno, Bun, or other non-browser runtimes.
Fetch implementation using XMLHttpRequest for browsers that don't support fetch with upload progress.
When to use xhrFetch vs withUploadProgress:
Note: xhrFetch uses XMLHttpRequest which is browser-only and will throw in Node.js, Deno, Bun, or other non-browser runtimes.