1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: use correct casing fro ETag header (#3387)

This commit is contained in:
Ivar Conradi Østhus 2023-03-27 10:32:49 +02:00 committed by GitHub
parent 49fbf4a635
commit b5a31dabc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);