Searched hist:a1cbc1920833ae7f7cf9c2e7df06e37dc7f9f530 (Results 1 – 1 of 1) sorted by relevance
/openbmc/bmcweb/redfish-core/include/ |
H A D | query.hpp | diff a1cbc1920833ae7f7cf9c2e7df06e37dc7f9f530 Wed Mar 29 02:24:42 CDT 2023 Hieu Huynh <hieuh@os.amperecomputing.com> 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
|