From dc381ded387d073e53703fa54f4fd940296c7fba Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 16 Feb 2024 18:10:07 +0000 Subject: [PATCH] chore: Update dist --- dist/cleanup/index.js | 3 +++ dist/index.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 3aee6b7..a107a9d 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -31730,6 +31730,9 @@ function httpRedirectFetch (fetchParams, response) { // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name request.headersList.delete('authorization') + // https://fetch.spec.whatwg.org/#authentication-entries + request.headersList.delete('proxy-authorization', true) + // "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement. request.headersList.delete('cookie') request.headersList.delete('host') diff --git a/dist/index.js b/dist/index.js index 834b3b5..ac03b1b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -34003,6 +34003,9 @@ function httpRedirectFetch (fetchParams, response) { // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name request.headersList.delete('authorization') + // https://fetch.spec.whatwg.org/#authentication-entries + request.headersList.delete('proxy-authorization', true) + // "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement. request.headersList.delete('cookie') request.headersList.delete('host')