domain-task
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -21,10 +21,2 @@ "use strict"; | ||
} | ||
// Currently, some part of ASP.NET (perhaps just Kestrel on Mac - unconfirmed) doesn't complete | ||
// its responses if we send 'Connection: close', which is the default. So if no 'Connection' header | ||
// has been specified explicitly, use 'Connection: keep-alive'. | ||
init = init || {}; | ||
init.headers = init.headers || {}; | ||
if (!init.headers['Connection']) { | ||
init.headers['Connection'] = 'keep-alive'; | ||
} | ||
return isomorphicFetch(req, init); | ||
@@ -31,0 +23,0 @@ } |
{ | ||
"name": "domain-task", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Tracks outstanding operations for a logical thread of execution", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,11 +28,2 @@ import * as url from 'url'; | ||
// Currently, some part of ASP.NET (perhaps just Kestrel on Mac - unconfirmed) doesn't complete | ||
// its responses if we send 'Connection: close', which is the default. So if no 'Connection' header | ||
// has been specified explicitly, use 'Connection: keep-alive'. | ||
init = init || {}; | ||
init.headers = init.headers || {}; | ||
if (!init.headers['Connection']) { | ||
init.headers['Connection'] = 'keep-alive'; | ||
} | ||
return isomorphicFetch(req, init); | ||
@@ -39,0 +30,0 @@ } |
Sorry, the diff of this file is not supported yet
19897
306