summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMyung Bae <myungbae@us.ibm.com>2024-02-24 18:50:23 +0300
committerMyung Bae <myungbae@us.ibm.com>2024-02-28 12:04:00 +0300
commit490d74d6b4f07b9e818b0c3ba23ee2754eb9e393 (patch)
treeea6e38d6f7143d6210e5ac0c130dd2ebcba6e693 /include
parent6b9ac4f23ed00c3905c9b99f1d0831930acdbb1c (diff)
downloadbmcweb-490d74d6b4f07b9e818b0c3ba23ee2754eb9e393.tar.xz
Fix duplicated etag generation
bmcweb generates the duplicated etags on GET and it may cause the PATCH failure if etag is used - e.g. redfishtool.. This commit is to put only one Etag on http_response on GET. Tested: - Check the duplicated Etag on GET, and check it after fix Before: ``` $ curl -v -k -X GET https://admin:${password}@${bmc}:18080/redfish/v1/AccountService/Accounts/readonly ... < ETag: "D4B30BB4" < ETag: "D4B30BB4" ``` After: ``` $ curl -v -k -X GET https://admin:${password}@${bmc}:18080/redfish/v1/AccountService/Accounts/readonly ... < ETag: "D4B30BB4" ``` Change-Id: I5361919c5671b546181a26de792bc57de2c4f670 Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions