node-XMLHttpRequest
node-XMLHttpRequest copied to clipboard
XMLHttpRequest for node.js
Closes #148 . Added the timeout feature and the corresponding listener for the event.
#### `xmlhttprequest` throws an error while sending **FormData** object as an argument in `send` method. ```js var XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest; var FormData = require('form-data'); var data = new FormData(); data.append("foo",...
In `.abort()`, we were setting `headers` to `defaultHeaders`. This causes a couple problems. First, this means you can't set the full `User-Agent`. Since `.open()` calls `this.abort()`, `User-Agent` will be set...
I inherited a project that uses socket.io version 1.2.0 and it seems when `npm install` is run it tries to fetch xmlhttprequest@https://github.com/LearnBoost/node-XMLHttpRequest/archive/0f36d0b5ebc03d85f860d42a64ae9791e1daa433.tar.gz but I receive 401 Unauthorized. So I follow...
Line 157 in XMLHTTPRequest.js: ` this.open = function(method, url, async, user, password) { this.abort(); errorFlag = false;` This causes all calls to open(), to immediately invoke the 'abort' event on...
Is there any easy 1 liner command to run the test suite? I can't seem to find any in the README.md. The only hint I can find from the codebase...
Would you be interested in handing the module over to be maintained and development? You can review my history on github/npm and StackOverflow. Alternatively, if you don't want to maintain...
Because of this issue in Node which changed rejectUnauthorized from default false to true (see joyent/node#3949), the TLS negotiation fails for self-signed certificates. This is very important when testing and...
Moved variables out of the class scope, which should be a small optimization when you construct an XMLHttpRequest object.
Bump of https://github.com/driverdan/node-XMLHttpRequest/issues/37 I can submit a PR if it can be merged. If you are looking for maintainers for this project I'd be more than welcome to help. ```...