You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I noticed that #292 mentioned that interceptor has added support for the upload event of XMLHttpRequest, but I tried to use XHR to upload files in the latest version of msw, and the progress event was not triggered.
By the way, #292 mentions adding support for the progress event, but this only works in response.
I'm wondering if it's possible to add support for the progress event in upload?
Environment
msw: 2.3.0
nodejs: 2.3.0
pnpm: 9.0.6
To Reproduce
constxhr=newXMLHttpRequest()// codes...xhr.upload.onprogress=({ loaded, total })=>{console.log(loaded,total)// not triggered};xhr.send(someFormData)
The text was updated successfully, but these errors were encountered:
Hi, I noticed that #292 mentioned that interceptor has added support for the upload event of XMLHttpRequest, but I tried to use XHR to upload files in the latest version of msw, and the progress event was not triggered.
By the way, #292 mentions adding support for the progress event, but this only works in response.
I'm wondering if it's possible to add support for the progress event in upload?
Environment
To Reproduce
The text was updated successfully, but these errors were encountered: