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:
parent
49fbf4a635
commit
b5a31dabc4
@ -333,7 +333,7 @@ export default class FeatureController extends Controller {
|
|||||||
const meta = await this.calculateMeta(query);
|
const meta = await this.calculateMeta(query);
|
||||||
const { etag } = meta;
|
const { etag } = meta;
|
||||||
|
|
||||||
res.setHeader('etag', etag);
|
res.setHeader('ETag', etag);
|
||||||
|
|
||||||
if (etag === userVersion) {
|
if (etag === userVersion) {
|
||||||
res.status(304);
|
res.status(304);
|
||||||
|
Loading…
Reference in New Issue
Block a user