summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-11-25 23:17:37 +0300
committerEd Tanous <ed@tanous.net>2020-12-15 02:24:18 +0300
commitd6aa0093aa8736b36766df0197f7b3bb80fe4af7 (patch)
tree88614251128b44ff5f87742b67a8bb1a66712b1a /meson_options.txt
parent8ba7ae5b697305b9e9829186e1017977325225ce (diff)
downloadbmcweb-d6aa0093aa8736b36766df0197f7b3bb80fe4af7.tar.xz
IndicatorLED: Add a deprecated warning header
Added a warning header when IndicatorLED is patched telling the client it is deprecated and pointing to LocationIndicatorActive. Used the warning syntax from https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning Tested: curl -X PATCH -v -d '{ "IndicatorLED":"Off"}' \ -k https://$bmc/redfish/v1/Systems/system ... < HTTP/1.1 204 No Content < Warning: 299 - "IndicatorLED is deprecated. Use LocationIndicatorActive instead." < Strict-Transport-Security: max-age=31536000; includeSubdomains; preload < X-Frame-Options: DENY Change-Id: Ic25a02508b0a1bcada1fa71ffa413c493fad00c4 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions