diff options
author | Hieu Huynh <hieuh@os.amperecomputing.com> | 2023-03-29 10:24:42 +0300 |
---|---|---|
committer | Hieu Huynh <hieuh@os.amperecomputing.com> | 2023-03-29 10:24:42 +0300 |
commit | a1cbc1920833ae7f7cf9c2e7df06e37dc7f9f530 (patch) | |
tree | 5b87e1d2c69d57e9dcb597fc0bd77879a570c825 /Redfish.md | |
parent | 797d5dae9eed4e783d065be24f5ac0bf4ffe1a1a (diff) | |
download | bmcweb-a1cbc1920833ae7f7cf9c2e7df06e37dc7f9f530.tar.xz |
Fix If Match header in Http layer
Commit [1] prevents the clients performing methods if missing ETag
from the If-Match header.
For the "If-Match: *" [2] that representing any resource, it should
be the valid command.
[1] https://github.com/openbmc/bmcweb/commit/2d6cb56b6b47c3fbb0d234ade5c1208edb69ef1f
[2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match
Tested:
Can performing methods GET/POST/PATCH/DELETE with "If-Match: *"
header.
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I2e5a81ed33336a939b01bd6b64d3ff99501341d0
Diffstat (limited to 'Redfish.md')
0 files changed, 0 insertions, 0 deletions