mirror of https://github.com/acidanthera/audk.git
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:
parent
8ab9f7690e
commit
7dec14b78f
|
@ -1943,6 +1943,8 @@ HttpMappingToStatusCode (
|
||||||
return HTTP_STATUS_305_USE_PROXY;
|
return HTTP_STATUS_305_USE_PROXY;
|
||||||
case 307:
|
case 307:
|
||||||
return HTTP_STATUS_307_TEMPORARY_REDIRECT;
|
return HTTP_STATUS_307_TEMPORARY_REDIRECT;
|
||||||
|
case 308:
|
||||||
|
return HTTP_STATUS_308_PERMANENT_REDIRECT;
|
||||||
case 400:
|
case 400:
|
||||||
return HTTP_STATUS_400_BAD_REQUEST;
|
return HTTP_STATUS_400_BAD_REQUEST;
|
||||||
case 401:
|
case 401:
|
||||||
|
|
Loading…
Reference in New Issue