summaryrefslogtreecommitdiff
path: root/RedfishPkg/RedfishHttpDxe/RedfishHttpDxe.c
AgeCommit message (Collapse)AuthorFilesLines
2025-03-27RedfishPkg/RedfishHttpDxe : Fix the incorrect length of the Basic AuthAbner Chang1-2/+3
Use AsciiStrLen function instead of AsciiStrSize to determine the length of Basic Auth string. Signed-off-by: Abner Chang <abner.chang@amd.com>
2025-01-23RedfishPkg/RedfishHttpDxe: report failure via status codeNickle Wang1-11/+9
Manageability status code is introduced to edk2. Enable the ability to report Redfish communication failure via status code. This gives the chance for BMC to capture Redfish error. Signed-off-by: Nickle Wang <nicklew@nvidia.com>
2024-08-29RedfishPkg/RedfishHttpDxe: add status code check for modification requestNickle Wang1-4/+65
Add HTTP status code check for POST, PUT, PATCH and DELETE Redfish request. When status code is not expected, return failure to caller. The expected HTTP status code is defined in Redfish specification. Signed-off-by: Nickle Wang <nicklew@nvidia.com>
2024-08-07RedfishPkg: Allow deletion of the bootstrap accountIgor Kulchytskyy1-7/+31
Extending the Redfish Credential protocol to allow Redfish Clients to be registered/unregistered for tracking their end of work and delete a bootstrap account when all registered Redfish clients finish their communication with Redfish service. Redfish Http module also was updated to register/unregister clients on Redfish Service creation/stop event. Cc: Abner Chang <abner.chang@amd.com> Cc: Nickle Wang <nicklew@nvidia.com> Signed-off-by: Igor Kulchytskyy <igork@ami.com>
2024-02-29RedfishPkg: implement Redfish HTTP protocolNickle Wang1-0/+1344
implement Redfish HTTP protocol driver. Signed-off-by: Nickle Wang <nicklew@nvidia.com> Co-authored-by: Igor Kulchytskyy <igork@ami.com> Cc: Abner Chang <abner.chang@amd.com> Cc: Igor Kulchytskyy <igork@ami.com> Cc: Nick Ramirez <nramirez@nvidia.com> Reviewed-by: Abner Chang <abner.chang@amd.com> Reviewed-by: Igor Kulchytskyy <igork@ami.com> Reviewed-by: Mike Maslenkin <mike.maslenkin@gmail.com>