From 6e1ab5298384c3de26832750b8d716613735f19d Mon Sep 17 00:00:00 2001 From: SlyRock Date: Thu, 19 Dec 2024 10:07:58 +0100 Subject: [PATCH] remove original 'content-encoding' header from proxy response's headers --- src/middleware/packages/crypto/signature/proxy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/middleware/packages/crypto/signature/proxy.js b/src/middleware/packages/crypto/signature/proxy.js index bbba03c86..f9400d02e 100644 --- a/src/middleware/packages/crypto/signature/proxy.js +++ b/src/middleware/packages/crypto/signature/proxy.js @@ -122,6 +122,7 @@ const ProxyService = { // Remove headers that we don't want to be transfered response.headers.delete('content-length'); response.headers.delete('connection'); + response.headers.delete('content-encoding'); return { ok: true,