mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-22 19:18:07 +00:00
avoid keep-alive
This commit is contained in:
parent
3ba32a6734
commit
43aa320246
@ -60,6 +60,7 @@ HttpProvider.prototype.prepareRequest = function (async) {
|
||||
var request = new XMLHttpRequest();
|
||||
request.open('POST', this.host, async);
|
||||
request.setRequestHeader('Content-Type','application/json');
|
||||
request.setRequestHeader('Connection','close');
|
||||
return request;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user