diff options
author | hegdenag <nagaraj-p.hegde@hpe.com> | 2017-06-08 14:40:09 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2017-06-09 15:37:34 +0800 |
commit | 7dec14b78f0b579a17050665832ed95b3ac4b53e (patch) | |
tree | ed68a126d51d6c4a25d0bdcc93df4a85b900fc2c /MdeModulePkg/Library/DxeHttpLib | |
parent | 8ab9f7690ee9a2ca198509b692a457b7409dfc1b (diff) | |
download | edk2-7dec14b78f0b579a17050665832ed95b3ac4b53e.tar.gz edk2-7dec14b78f0b579a17050665832ed95b3ac4b53e.tar.bz2 edk2-7dec14b78f0b579a17050665832ed95b3ac4b53e.zip |
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>
Diffstat (limited to 'MdeModulePkg/Library/DxeHttpLib')
-rw-r--r-- | MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c index 292923875f..505d5c89e9 100644 --- a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c +++ b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c @@ -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:
|