Skip to content

Commit

Permalink
Merge pull request #1019 from skaut/version-1.5.1
Browse files Browse the repository at this point in the history
Version 1.5.1
  • Loading branch information
marekdedic authored Aug 30, 2023
2 parents 5867fa1 + 78aaab9 commit bc6165d
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 151 deletions.
5 changes: 1 addition & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6226,10 +6226,6 @@ function getNodeRequestOptions(request) {
agent = agent(parsedURL);
}

if (!headers.has('Connection') && !agent) {
headers.set('Connection', 'close');
}

// HTTP-network fetch step 4.2
// chunked encoding is handled by Node.js

Expand Down Expand Up @@ -6649,6 +6645,7 @@ exports.Headers = Headers;
exports.Request = Request;
exports.Response = Response;
exports.FetchError = FetchError;
exports.AbortError = AbortError;


/***/ }),
Expand Down
Loading

0 comments on commit bc6165d

Please sign in to comment.