From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3AE1CAC1039 for ; Tue, 24 Oct 2023 08:39:05 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=latJkoZAl1FN8EINjyQYxDdJCydziF15cXTCPAGBZpc=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1698136743; v=1; b=GqoihNICoKdEQ48C4fJdl/7KGhW56R39GMk19ofHWh89d7yKI04Seve9PWy9kvpkWXDhnSZX 2T8w3QSmWVRhQj/p/FXd7BPlRCVJZN2BV4ltqQcePITJfvPMUiGTZLNu6vuCd/QpskwX43/vICX OcsX3uPSfZCLCppVU2zAPMc4= X-Received: by 127.0.0.2 with SMTP id usSRYY7687511xFEhQgBy1iJ; Tue, 24 Oct 2023 01:39:03 -0700 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.65]) by mx.groups.io with SMTP id smtpd.web10.143288.1698136743203565131 for ; Tue, 24 Oct 2023 01:39:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KS4jcHCpKZipi3FqKi8r7Os1pThcppfSUgj4aHjLOHDtGwJtsKFn58g0fe+sZGkfnp4kwxP86s/DD+DqR4rt1cgwKAUcpSKdm9SLgtAUZF9yNXiB4oXg1H00hTkrs4ebGmyku1TMZhpDNqkNaGfwLq8nWSfvRgCtkLDHhi57nRDGoQzYGEmgjXKRifracogtpTy2LuMfJvPnQDmCLWpblF8/Tce8yX0qxkHlddmSnuCGZHfkqaltQAfRhXpvrjz8CRJ8EoIUFnguP91+yNkgjtqYbmfIljkW6K8qXMlyMFbuQwmFsgts5spO4g2SDuhOmwRGausd1h8xWkv8pCNnWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+HVsVgv/o3yLk6+kO3HPH11XGvrbuNUv3ybb6gNLt/E=; b=i02u3KH2Am5y1X6vD3b8EUJ/ER8fjoYts6Xtr5efchw9SDTNhMjxoazo9ahFblsy180RT0ER4aYumd58T0S+WweqpRs0AE/R+t1jPBr+bq31d670aIBR7qy3JNe6X9MW2uFjHPVX0pWIrY2aLniwGsqcfCEmUimwtxNPz9u1hv/zYVcOiTNWVHvkKKOxiVGtKRD73GsjN+EfivcdA50snXOeRpliVAfgHgy9DRnv0xFBOsQm0lYCsZDmGf7i9TJvd0KZrbA/TtPf69eMqAeTEfnPdWjRhYGT0ub5weoZ0QRRo1RkFk3UJRHH6bqXKAnQ5/4V44GWjGbfCOzCX4JRJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none X-Received: from CH0PR03CA0074.namprd03.prod.outlook.com (2603:10b6:610:cc::19) by IA0PR12MB8421.namprd12.prod.outlook.com (2603:10b6:208:40f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Tue, 24 Oct 2023 08:39:00 +0000 X-Received: from CY4PEPF0000EDD7.namprd03.prod.outlook.com (2603:10b6:610:cc:cafe::a7) by CH0PR03CA0074.outlook.office365.com (2603:10b6:610:cc::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.33 via Frontend Transport; Tue, 24 Oct 2023 08:39:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C X-Received: from mail.nvidia.com (216.228.118.232) by CY4PEPF0000EDD7.mail.protection.outlook.com (10.167.241.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.15 via Frontend Transport; Tue, 24 Oct 2023 08:38:59 +0000 X-Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 24 Oct 2023 01:38:51 -0700 X-Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 24 Oct 2023 01:38:51 -0700 X-Received: from NV-CL38DL3.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Tue, 24 Oct 2023 01:38:50 -0700 From: "Nickle Wang via groups.io" To: CC: Abner Chang , Igor Kulchytskyy , "Nick Ramirez" Subject: [edk2-devel] [PATCH 0/3] RedfishPkg/RedfishLib: Return HTTP headers to caller Date: Tue, 24 Oct 2023 16:38:49 +0800 Message-ID: <20231024083849.15894-1-nicklew@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EDD7:EE_|IA0PR12MB8421:EE_ X-MS-Office365-Filtering-Correlation-Id: dfb566a7-c525-4312-68f8-08dbd46cab64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: XQqDmIhAsS9PfrTZyx00nbBvqDqmwW1BVHpQazWbL69W9IArTBacmIqrZQ0GrW6JZWnaKRY2DT8wyZfTx4SRlwUC5FM2eCvR3XG+GYypKemtlY/X2UzBLfxC6gM7MDIlqtwKHxN67y+VJu1JuYdwnmBaXw4SOekizqbLlSJU/kUQwmZTcKQCfmk4ZkV9EzHuGtUAXEwbPkonees94WPRjikJ1k34nZ8UygWOr75EAje93N2+clZ6xS250ZJYL4b+YgcKeCfZtlu4rj+/ZP57R6CABvocmzHXFWD+Anbe0mvctjvokzpc8HtTG8X1112fyihjbKlu8SwuX/cTB/rewx5F2myZ7QS1+OY14/8rhDaJndjTfMqL198Ym7DP2lclflnuF+VvnpODpb8VjP7IasoMvAJIAtJkNa7jIk+36VSHCW3OBFde0HKKHPSaiEnyZbrpF6Vr15QZvH7t5GnlGqVnFUftv/uLuhGSq6I2eKnKReDcUx3FMnHykzEl2CL3x1/UCj5G6/1lgomCz8sIz/sP7bbYZ7uYvzXCeEG31z5LqJAmRmV/BQ7mTcgrkQ9ozzTlzjh8wlXl1OznX5ueQKFPNShiy0V3SY7/B8tLzskKKPCGqXrH4tHE3XffOBBS9nei1S7+43vuRpGU9pDKKD7WGDVTjEWOZD4tNbRrBR3NJkrs7CvsuxOvEqHwhe/Gqnwg89qpJocsqiskcgH6YwLDrTraoGt7T+S/jiRz+4chMbL8zp2lna4mzTkpU2LPnUBZypsnIQUvyadQPOHg59tRHOQ4v+EjuaZydW5BclA= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2023 08:38:59.9004 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dfb566a7-c525-4312-68f8-08dbd46cab64 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EDD7.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8421 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,nicklew@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: RQrkXwt1MsVRAEVluhVbpOESx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-Spam-Flag: yes X-Spam-Level: ************ X-GND-Spam-Score: 190 X-GND-Status: SPAM Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=GqoihNIC; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io The purpose of this patch series is to add new interfaces in RedfishLib to return HTTP headers to caller. I also fix typos and compile error in RedfishLib. PR is opened here: https://github.com/tianocore/edk2/pull/4944 Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Nickle Wang (3): RedfishPkg/RedfishLib: introduce new interfaces. RedfishPkg/libredfish: introduce new interfaces. RedfishPkg/RedfishLib: return HTTP headers to caller .../PrivateLibrary/RedfishLib/RedfishLib.inf | 2 + RedfishPkg/Include/Library/RedfishLib.h | 95 ++++- .../edk2libredfish/include/redfishService.h | 44 +++ .../PrivateLibrary/RedfishLib/RedfishLib.c | 163 +++++++- .../PrivateLibrary/RedfishLib/RedfishMisc.c | 13 +- .../RedfishLib/edk2libredfish/src/payload.c | 3 +- .../RedfishLib/edk2libredfish/src/service.c | 369 ++++++++++++++++-- 7 files changed, 625 insertions(+), 64 deletions(-) --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109990): https://edk2.groups.io/g/devel/message/109990 Mute This Topic: https://groups.io/mt/102154010/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-