browserify / http-browserify

node's http module, but for the browser
MIT License
244 stars 110 forks source link

delay opening of XHR object until next tick #39

Closed grncdr closed 4 years ago

grncdr commented 10 years ago

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.