diff --git a/envjs/platform/node.js b/envjs/platform/node.js index 72b6834b..56d1f463 100644 --- a/envjs/platform/node.js +++ b/envjs/platform/node.js @@ -254,7 +254,7 @@ Envjs.connection = function(xhr, responseHandler, data){ urlparts.path+(urlparts.query?"?"+urlparts.query:''), __extend__(xhr.headers,{ "Host": urlparts.hostname, - "Connection":"Keep-Alive" + //"Connection":"Keep-Alive" //"Accept-Encoding", 'gzip' }) ); diff --git a/src/platform/node-v8/xhr.js b/src/platform/node-v8/xhr.js index 151177f9..907547a0 100644 --- a/src/platform/node-v8/xhr.js +++ b/src/platform/node-v8/xhr.js @@ -82,7 +82,7 @@ Envjs.connection = function(xhr, responseHandler, data){ urlparts.path+(urlparts.query?"?"+urlparts.query:''), __extend__(xhr.headers,{ "Host": urlparts.hostname, - "Connection":"Keep-Alive" + //"Connection":"Keep-Alive" //"Accept-Encoding", 'gzip' }) );