Skip to content

Commit

Permalink
build: update distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-bot authored Aug 27, 2023
1 parent 15a517c commit 4abd13c
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 4abd13c

Please sign in to comment.