Not spec-compliant, might break a few things, but we will see
This commit is contained in:
SukkaW
2025-01-10 00:42:04 +08:00
parent 14976b94ea
commit 0c679645e7
3 changed files with 28 additions and 5 deletions

13
patches/undici.patch Normal file
View File

@@ -0,0 +1,13 @@
diff --git a/lib/util/cache.js b/lib/util/cache.js
index 35c53512b2acea09657b888e42dbfd04e45d7dbe..6ebce36bf7f3c50d6afabe5b3ab0e692605403dd 100644
--- a/lib/util/cache.js
+++ b/lib/util/cache.js
@@ -270,8 +270,6 @@ function parseVaryHeader (varyHeader, headers) {
if (headers[trimmedHeader]) {
output[trimmedHeader] = headers[trimmedHeader]
- } else {
- return undefined
}
}