chore(release): 4.1.1 (#1344)

This commit is contained in:
Tom Hu
2024-03-26 10:58:49 -04:00
committed by GitHub
parent 3e33441c19
commit c16abc29c9
4 changed files with 7 additions and 4 deletions

3
dist/index.js vendored
View File

@@ -21064,6 +21064,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')