Merge this in: https://github.com/driverdan/node-XMLHttpRequest/pull/143 Thanks for the PR @edselg.