The use case for this is to allow attaching event listeners to "progress" events. Listeners that are attached to this event after open has been called (when the request is in readyState === 1) are ignored, so receiving progress events with requests made via require('http').request was impossible.
The use case for this is to allow attaching event listeners to
"progress"
events. Listeners that are attached to this event after open has been called (when the request is inreadyState === 1
) are ignored, so receiving progress events with requests made viarequire('http').request
was impossible.