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
In got.stream, downloadProgress fired when redirects happens. Every time redirect happens, the progress report from 0 (with total of content-length, undefined if not any) to 1 instantly (with total of 0). Related issue: electron/fiddle-core#59
Node.js version: v20.10.0
OS & version: Windows 11 23H2 (22631.3296)
Actual behavior
downloadProgress triggered every time redirect happens. This makes the progress percent from 0 to 1 and repeat until response.
Expected behavior
downloadProgress should report when it only receive a proper response, not redirect.
Describe the bug
In
got.stream
,downloadProgress
fired when redirects happens. Every time redirect happens, the progress report from 0 (withtotal
ofcontent-length
,undefined
if not any) to 1 instantly (withtotal
of 0). Related issue: electron/fiddle-core#59Actual behavior
downloadProgress
triggered every time redirect happens. This makes the progress percent from 0 to 1 and repeat until response.Expected behavior
downloadProgress
should report when it only receive a proper response, not redirect.Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: