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
We could emit the error after the stream.Readable's end event, but there's a chance you'll get only a piece of the response (e.g. flowing mode is on), and we don't want that when we are piping it to a HTTP response.
Hi,
in Got 8 I could pipe through a closed stream. In Got 9 I get this error:
to fix this I have to remove the
await PEvent(response, 'response')
event of the first stream:Reproducible:
Solution:
Does the new behaviour fix a bug or is it best-practice? At least we should add it to the release notes as breaking-change.
The text was updated successfully, but these errors were encountered: