diff options
author | Ed Tanous <edtanous@google.com> | 2023-09-06 23:57:30 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-12-05 21:54:28 +0300 |
commit | 998e0cbdc5092bdaa783d11c2760bf62084403ce (patch) | |
tree | 95f8b39cfdbb036d84c7e9f6798dd1a8eb0dd6ec /test/http/utility_test.cpp | |
parent | 4fa45dffd1ece21a468ed32850428b3b41bc8093 (diff) | |
download | bmcweb-998e0cbdc5092bdaa783d11c2760bf62084403ce.tar.xz |
Fix missing date
At some point, the date got removed from http1 requests. HTTP2 does not
show this issue, but this showed up in unit tests (which is why the
prior commit is adding unit tests).
The Date Header is useful for synchronizing things like
Cache-Control-Policy, with the actual server time, instead of the local
system time.
Tested: Unit tests pass.
Change-Id: I8f105f0cbb6c816c5ec6b14cbeae587d728a20d2
Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'test/http/utility_test.cpp')
0 files changed, 0 insertions, 0 deletions