fix(compress): convert strong ETag to weak ETag when compressing (#4848)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Compressed content is not byte-identical to the original, so strong ETags violate HTTP semantics (RFC 9110). Convert them to weak ETags by adding the W/ prefix, matching the behavior of nginx, Apache, and Express.
authored by Taku Amano · committed by GitHub · parent 75b4308 · Browse files · 2 files+58 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+58 added−0 removed
- tests:+52 added−0 removed
- other:+6 added−0 removed