diff options
author | Abner Chang <abner.chang@amd.com> | 2023-02-10 02:05:12 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-02-09 21:40:17 +0000 |
commit | 39254d922e550ccc9c5ab5639c3c28a4ee4e13fd (patch) | |
tree | f4e2e5a3386b51bee66a1eb8c4cac30e1ff31e7b /RedfishPkg/RedfishPkg.dec | |
parent | 289d93b79c18f42b9dd09770a22d15a11fd40670 (diff) | |
download | edk2-39254d922e550ccc9c5ab5639c3c28a4ee4e13fd.zip edk2-39254d922e550ccc9c5ab5639c3c28a4ee4e13fd.tar.gz edk2-39254d922e550ccc9c5ab5639c3c28a4ee4e13fd.tar.bz2 |
RedfishPkg/RedfishRestExDxe: Two PCDs for controlling the requests
Since BIOS should work with different BMC implementation chunked requests
as well as Expect header should be optional.
- One PCD is used to enable/disable Expect header.
- Another PCD is used to enable/disable chunked requests.
Reviewed-by: Abner Chang <abner.chang@amd.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Signed-off-by: Igor Kulchytskyy <igork@ami.com>
Diffstat (limited to 'RedfishPkg/RedfishPkg.dec')
-rw-r--r-- | RedfishPkg/RedfishPkg.dec | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec index d2b189b..130e7ec 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -3,6 +3,7 @@ #
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
+# Copyright (c) 2023, American Megatrends International LLC.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
@@ -97,3 +98,13 @@ # protocol instance.
#
gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|FALSE|BOOLEAN|0x00001002
+ #
+ # This PCD indicates if the EFI REST EX sends chunk request to Redfish service.
+ # Default is set to non chunk mode.
+ #
+ gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExChunkRequestMode|FALSE|BOOLEAN|0x00001003
+ #
+ # This PCD indicates if the EFI REST EX adds Expect header to the POST, PATCH, PUT requests to Redfish service.
+ # Default is set to not add.
+ #
+ gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExAddingExpect|FALSE|BOOLEAN|0x00001004
|