diff options
author | João Lucas Lucchetta <joao.lucas.lucchetta@gmail.com> | 2020-08-20 06:01:57 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-08-22 22:49:11 +0300 |
commit | f5102fbcf4d959629413e7b8ddb37275286a50d8 (patch) | |
tree | ba555266cb6cf8a6c7df1fc9b11867290f15e942 /src | |
parent | ac3049d3312732da97a80f7db9572e846e13b7ee (diff) |
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: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions