driverdan / node-XMLHttpRequest

XMLHttpRequest for node.js
http://thedanexperiment.com/2009/10/04/emulating-xmlhttprequest-in-node-js/
MIT License
416 stars 299 forks source link

Add events `error` and `abort` #112

Closed thorn0 closed 8 years ago

thorn0 commented 9 years ago

Also make status return 0 if the error flag is set. See http://www.w3.org/TR/XMLHttpRequest/#the-status-attribute