stream-http icon indicating copy to clipboard operation
stream-http copied to clipboard

How to get progress when upload data

Open binghaiwang opened this issue 7 years ago • 2 comments

binghaiwang avatar May 29 '18 12:05 binghaiwang

This isn't possible with the current version of stream-http.

From a bit of quick research, it's possible with XMLHttpRequest but not with fetch. (Edit: removed incorrect link)

Making something that works only with XMLHttpRequest looks doable.

jhiesey avatar Jun 07 '18 03:06 jhiesey

If we pass in the option 'disable-fetch' which forces the use of plain XHR, then can we attach a progress event listener?

ricky11 avatar Apr 15 '21 08:04 ricky11