node-XMLHttpRequest
node-XMLHttpRequest copied to clipboard
XMLHttpRequest for node.js
each Accept get a '*/*' is not good. And some crazy project only accept specifical Accept.
XMLHttpRequest throws an error 'Spawn ENAMETOOLONG' run with windows 10 while send a long string data. ```javaScripte var syncProc = spawn(process.argv[0], ["-e", execString]); ``` i think it cause by CMD...
Will there ever be a types declaration package for this?
It seems that when received type is `json` then `response` is null and `responseText` is json text, but from my understanding of standard it should be vice versa. From: https://xhr.spec.whatwg.org/#the-responsetext-attribute...
https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936 Do you have any fix for this issue?
Always populating `response` is a hack (one should really request it via `responseType`), but a useful one. For my particular use case I wanted to do a synchronous XHR, in...
In [XMLHttpRequest.js lines 479-480](https://github.com/driverdan/node-XMLHttpRequest/blob/97966e4ca1c9f2cc5574d8775cbdacebfec75455/lib/XMLHttpRequest.js#L479-480 ), two filenames are defined using process.pid as a unique key. ``` var contentFile = ".node-xmlhttprequest-content-" + process.pid; var syncFile = ".node-xmlhttprequest-sync-" + process.pid; ``` However,...
In [XMLHttpRequest.js lines 479-480](https://github.com/driverdan/node-XMLHttpRequest/blob/97966e4ca1c9f2cc5574d8775cbdacebfec75455/lib/XMLHttpRequest.js#L479-480 ), two filenames are defined using process.pid as a unique key. ``` var contentFile = ".node-xmlhttprequest-content-" + process.pid; var syncFile = ".node-xmlhttprequest-sync-" + process.pid; ``` However,...