public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode
@ 2017-06-08  6:40 hegdenag
  2017-06-09  0:58 ` Wu, Jiaxin
  2017-06-09  7:30 ` Subramanian, Sriram
  0 siblings, 2 replies; 3+ messages in thread
From: hegdenag @ 2017-06-08  6:40 UTC (permalink / raw)
  To: edk2-devel; +Cc: jiaxin.wu, sriram-s, siyuan.fu, ting.ye

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>
---
 MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
index 292923875f..b781fc416f 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:
-- 
2.13.0.windows.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode
  2017-06-08  6:40 [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode hegdenag
@ 2017-06-09  0:58 ` Wu, Jiaxin
  2017-06-09  7:30 ` Subramanian, Sriram
  1 sibling, 0 replies; 3+ messages in thread
From: Wu, Jiaxin @ 2017-06-09  0:58 UTC (permalink / raw)
  To: hegdenag, edk2-devel@lists.01.org; +Cc: sriram-s@hpe.com, Fu, Siyuan, Ye, Ting

Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>


> -----Original Message-----
> From: hegdenag [mailto:nagaraj-p.hegde@hpe.com]
> Sent: Thursday, June 8, 2017 2:40 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Jiaxin <jiaxin.wu@intel.com>; sriram-s@hpe.com; Fu, Siyuan
> <siyuan.fu@intel.com>; Ye, Ting <ting.ye@intel.com>
> Subject: [PATCH v1 1/1] 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>
> ---
>  MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
> b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
> index 292923875f..b781fc416f 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:
> --
> 2.13.0.windows.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode
  2017-06-08  6:40 [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode hegdenag
  2017-06-09  0:58 ` Wu, Jiaxin
@ 2017-06-09  7:30 ` Subramanian, Sriram
  1 sibling, 0 replies; 3+ messages in thread
From: Subramanian, Sriram @ 2017-06-09  7:30 UTC (permalink / raw)
  To: Hegde, Nagaraj P, edk2-devel@lists.01.org
  Cc: jiaxin.wu@intel.com, siyuan.fu@intel.com, ting.ye@intel.com

Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>

-----Original Message-----
From: Hegde, Nagaraj P 
Sent: Thursday, June 8, 2017 12:10 PM
To: edk2-devel@lists.01.org
Cc: jiaxin.wu@intel.com; Subramanian, Sriram <sriram-s@hpe.com>; siyuan.fu@intel.com; ting.ye@intel.com
Subject: [PATCH v1 1/1] 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>
---
 MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
index 292923875f..b781fc416f 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:
-- 
2.13.0.windows.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-09  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08  6:40 [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode hegdenag
2017-06-09  0:58 ` Wu, Jiaxin
2017-06-09  7:30 ` Subramanian, Sriram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox