Skip to content

Commit

Permalink
build: update distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-bot committed Sep 3, 2023
1 parent ce7ff9a commit 3c9865a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3600,10 +3600,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 @@ -4023,6 +4019,7 @@ exports.Headers = Headers;
exports.Request = Request;
exports.Response = Response;
exports.FetchError = FetchError;
exports.AbortError = AbortError;


/***/ }),
Expand Down

0 comments on commit 3c9865a

Please sign in to comment.