MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode

Related to the ECR for support of HTTP Redirect (308)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
This commit is contained in:
hegdenag 2017-06-08 14:40:09 +08:00 committed by Fu Siyuan
parent 8ab9f7690e
commit 7dec14b78f
1 changed files with 2 additions and 0 deletions

View File

@ -1943,6 +1943,8 @@ HttpMappingToStatusCode (
return HTTP_STATUS_305_USE_PROXY;
case 307:
return HTTP_STATUS_307_TEMPORARY_REDIRECT;
case 308:
return HTTP_STATUS_308_PERMANENT_REDIRECT;
case 400:
return HTTP_STATUS_400_BAD_REQUEST;
case 401: