summaryrefslogtreecommitdiff
path: root/redfish-core/include/server_sent_events.hpp
diff options
context:
space:
mode:
authorCarson Labrado <clabrado@google.com>2022-11-04 21:10:15 +0300
committerEd Tanous <ed@tanous.net>2022-11-11 03:29:47 +0300
commit69fca03e92f1b96e1c02173d37742d74aeb9cb21 (patch)
tree96d171b38479f0e10d5214c9f687682a5e3f1e7d /redfish-core/include/server_sent_events.hpp
parent32d9a653b253e963eab9c9d49a377d4d48e9ea8a (diff)
downloadbmcweb-69fca03e92f1b96e1c02173d37742d74aeb9cb21.tar.xz
Aggregation: Fix header clobbering
We attempt to sanitize the response body of the asyncResp object as the first step of copying over the satellite response into the object. This is clobbering the "OData-Version" from the response header. We can completely remove this step since the body will already be empty. Tested: OData-Version is still present in the header when querying a satellite resource curl -s -D- localhost/redfish/v1/Chassis/5B247A_test | grep OData OData-Version: 4.0 Signed-off-by: Carson Labrado <clabrado@google.com> Change-Id: I82f54ae9b990504a3236b7a1273c794b1ee6f090
Diffstat (limited to 'redfish-core/include/server_sent_events.hpp')
0 files changed, 0 insertions, 0 deletions