Closed stanleyxu2005 closed 5 months ago
The PR is about to fix a bug reported by #279 The PR will set response header vary only when compression actually happened
vary
npm run test
npm run benchmark
Is there a test that will fail without this change?
Yes. I see roughly ~40 test cases failing before moving setVaryHeader around in my 2nd commit of the PR.
setVaryHeader
The PR is about to fix a bug reported by #279 The PR will set response header
vary
only when compression actually happenedChecklist
npm run test
andnpm run benchmark