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