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
as a datapoint, we are seeing similar behaviour with Node 16. it is only happening on some requests, which suggests that a length condition may be a necessary condition for the issue to present itself. In our case the body length is 17887 bytes.
I have found another case where it happens with a response body of 16800 bytes. I have yet to see it with a shorter response body.
Reproduction
Steps to reproduce the behavior:
node-fetch@3.3.2
.'Streaming body... done!'
is never called for the empty file.Expected behavior
end
event onresponse.body
should fire for empty HTTP response bodies (but it's not on Node 16).Your Environment
3.3.2
16.20.2
8.19.4
macOs 13.3.1 (a)
Additional context
Issue occurs on Node 16, but not on Node 18.
The text was updated successfully, but these errors were encountered: