Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 14e6c48103d7bff65226a063c263a405c4de426e https://github.com/tianocore/edk2/commit/14e6c48103d7bff65226a063c263a405c4de426e Author: Nickle Wang <nick...@nvidia.com> Date: 2024-08-29 (Thu, 29 Aug 2024)
Changed paths: M RedfishPkg/RedfishHttpDxe/RedfishHttpDxe.c Log Message: ----------- RedfishPkg/RedfishHttpDxe: add status code check for modification request 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 <nick...@nvidia.com> Commit: 31f022500549f1d862af531da704a9b3c6568ff5 https://github.com/tianocore/edk2/commit/31f022500549f1d862af531da704a9b3c6568ff5 Author: Nickle Wang <nick...@nvidia.com> Date: 2024-08-29 (Thu, 29 Aug 2024) Changed paths: M RedfishPkg/RedfishHttpDxe/RedfishHttpOperation.c Log Message: ----------- RedfishPkg/RedfishHttpDxe: check response content type. Check HTTP response content type to see if it is application/json type or not. In Redfish, we expect to see response data in JSON format. If it is not, show warning message to developer. Signed-off-by: Nickle Wang <nick...@nvidia.com> Compare: https://github.com/tianocore/edk2/compare/2fe9b6c22fcc...31f022500549 To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits