From 66dd6ac11f2c7a26a48afbde411df539f7f0197a Mon Sep 17 00:00:00 2001 From: actions-bot <58130806+actions-bot@users.noreply.github.com> Date: Mon, 4 Sep 2023 18:49:58 +0900 Subject: [PATCH] build: update distribution (#198) Co-authored-by: actions-bot --- dist/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 446c81b..2f14eb1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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 @@ -4023,6 +4019,7 @@ exports.Headers = Headers; exports.Request = Request; exports.Response = Response; exports.FetchError = FetchError; +exports.AbortError = AbortError; /***/ }),