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
Also, it seems to me that all errors are emitted on the request object and never on the response object. Is the 'error' listener even useful on the response object?
I see that end emits from http.IncomingMessage(as a client response) in success case and when server closes connection as well (fail). Shouldn't be only close/aborted without end?
trivikr
added a commit
to trivikr/node
that referenced
this issue
Apr 15, 2018
The response object from
http.ClientRequest
only seems to amit a close event if the request was aborted?The text was updated successfully, but these errors were encountered: