From 35f87da8a2debd443ac842db0a3794b17914a8f4 Mon Sep 17 00:00:00 2001 From: Abner Chang Date: Mon, 18 Jan 2021 10:58:25 +0800 Subject: RedfishPkg/RedfishContentCodingLib: EDKII Redfish En/Decode library BZ#:3174 Platform library to provide the encoding/decoding algorithms for the Redfish packets. The supported value could be one of below or any which is platform-specific. - HTTP_CONTENT_ENCODING_IDENTITY "identity" - HTTP_CONTENT_ENCODING_GZIP "gzip" - HTTP_CONTENT_ENCODING_COMPRESS "compress" - HTTP_CONTENT_ENCODING_DEFLATE "deflate" - HTTP_CONTENT_ENCODING_BROTLI "br" Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Ray Ni Cc: Michael D Kinney Reviewed-by: Nickle Wang --- RedfishPkg/RedfishPkg.dec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'RedfishPkg/RedfishPkg.dec') diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec index b8ff98eb13..a6fd81cdae 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -2,7 +2,7 @@ # Redfish Package # # Copyright (c) 2019, Intel Corporation. All rights reserved.
-# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
+# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent ## @@ -50,6 +50,11 @@ # JsonLib|Include/Library/JsonLib.h + ## @libraryclass Provides the library functions to encode/decode + # Redfish packet. + # + RedfishContentCodingLib|Include/Library/RedfishContentCodingLib.h + [LibraryClasses.Common.Private] ## @libraryclass Provides the private C runtime library functions. # CRT library is currently used by edk2 JsonLib (open source -- cgit v1.2.3