From d79d333203ca3d136eda29a2264f6d587c7eb1bb Mon Sep 17 00:00:00 2001 From: Rob Stanford Date: Wed, 14 Feb 2024 15:03:17 +0000 Subject: [PATCH] fix: remove accepts encoding workaround (#264) --- src/run/handlers/server.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/run/handlers/server.ts b/src/run/handlers/server.ts index eb3925914e..fb416173f6 100644 --- a/src/run/handlers/server.ts +++ b/src/run/handlers/server.ts @@ -51,9 +51,6 @@ export default async (request: Request) => { const resProxy = nextResponseProxy(res) - // temporary workaround for https://linear.app/netlify/issue/ADN-111/ - delete req.headers['accept-encoding'] - // We don't await this here, because it won't resolve until the response is finished. const nextHandlerPromise = nextHandler(req, resProxy).catch((error) => { logger.withError(error).error('next handler error')