From 3dd17c2ac80bb1b40b78f095109c34e84e5e3290 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 14 Nov 2024 14:25:47 +0100 Subject: [PATCH] fix(proxy): ignore incoming `accept-encoding` header (#914) --- src/utils/proxy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/proxy.ts b/src/utils/proxy.ts index 0216e2dd..5ca97671 100644 --- a/src/utils/proxy.ts +++ b/src/utils/proxy.ts @@ -24,6 +24,7 @@ export interface ProxyOptions { const PayloadMethods = new Set(["PATCH", "POST", "PUT", "DELETE"]); const ignoredHeaders = new Set([ "transfer-encoding", + "accept-encoding", "connection", "keep-alive", "upgrade",