Commit f5102fbc authored by João Lucas Lucchetta's avatar João Lucas Lucchetta Committed by Rich Trott
Browse files

http2: fix Http2Response.sendDate

The `sendDate` flag was not being respected
by the current implementation and the `Date`
header was being sent regardless of the config.
This commit fixes that and adds tests for this case.

Fixes: https://github.com/nodejs/node/issues/34841

PR-URL: https://github.com/nodejs/node/pull/34850


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarRicky Zhou <0x19951125@gmail.com>
Reviewed-By: default avatarDenys Otrishko <shishugi@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent ac3049d3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment