feat: add support for ETag option in res.sendFile (#6073)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This patch introduces the ability to control the ETag generation through the `res.sendFile` function. Specifically, the ETag option is wired to the application's configuration, allowing it to be enabled or disabled based on the app's settings. Fixes: https://github.com/expressjs/express/issues/2294
authored by Juan José · committed by GitHub · parent d2de128 · Browse files · 3 files+17 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
Diff stats
3 files+17 added−0 removed
- tests:+13 added−0 removed
- other:+4 added−0 removed