From b5a31dabc457bad4d2567962b6d5b46ea4752444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Mon, 27 Mar 2023 10:32:49 +0200 Subject: [PATCH] fix: use correct casing fro ETag header (#3387) --- src/lib/routes/client-api/feature.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/routes/client-api/feature.ts b/src/lib/routes/client-api/feature.ts index dc7053a487..98a1177cfc 100644 --- a/src/lib/routes/client-api/feature.ts +++ b/src/lib/routes/client-api/feature.ts @@ -333,7 +333,7 @@ export default class FeatureController extends Controller { const meta = await this.calculateMeta(query); const { etag } = meta; - res.setHeader('etag', etag); + res.setHeader('ETag', etag); if (etag === userVersion) { res.status(304);