public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe
@ 2017-06-08  6:40 hegdenag
  2017-06-09  0:59 ` Wu, Jiaxin
  2017-06-09  7:33 ` 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

Add a error message in HttpBootPrintErrorMessage for HTTP 308
Redirect.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
---
 NetworkPkg/HttpBootDxe/HttpBootSupport.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NetworkPkg/HttpBootDxe/HttpBootSupport.c b/NetworkPkg/HttpBootDxe/HttpBootSupport.c
index 56c4c15836..181cb0d1f3 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootSupport.c
+++ b/NetworkPkg/HttpBootDxe/HttpBootSupport.c
@@ -186,6 +186,10 @@ HttpBootPrintErrorMessage (
 
   case HTTP_STATUS_307_TEMPORARY_REDIRECT:
     AsciiPrint ("\n  Redirection: 307 Temporary Redirect");
+    break;
+
+  case HTTP_STATUS_308_PERMANENT_REDIRECT:
+    AsciiPrint ("\n  Redirection: 308 Permanent Redirect");
     break; 
 
   case HTTP_STATUS_400_BAD_REQUEST:
-- 
2.13.0.windows.1



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

* Re: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe
  2017-06-08  6:40 [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe hegdenag
@ 2017-06-09  0:59 ` Wu, Jiaxin
  2017-06-09  7:33 ` Subramanian, Sriram
  1 sibling, 0 replies; 3+ messages in thread
From: Wu, Jiaxin @ 2017-06-09  0:59 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:41 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] NetworkPkg/HttpBootDxe: Handle new #define in
> HttpBootDxe
> 
> Add a error message in HttpBootPrintErrorMessage for HTTP 308
> Redirect.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
> ---
>  NetworkPkg/HttpBootDxe/HttpBootSupport.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/NetworkPkg/HttpBootDxe/HttpBootSupport.c
> b/NetworkPkg/HttpBootDxe/HttpBootSupport.c
> index 56c4c15836..181cb0d1f3 100644
> --- a/NetworkPkg/HttpBootDxe/HttpBootSupport.c
> +++ b/NetworkPkg/HttpBootDxe/HttpBootSupport.c
> @@ -186,6 +186,10 @@ HttpBootPrintErrorMessage (
> 
>    case HTTP_STATUS_307_TEMPORARY_REDIRECT:
>      AsciiPrint ("\n  Redirection: 307 Temporary Redirect");
> +    break;
> +
> +  case HTTP_STATUS_308_PERMANENT_REDIRECT:
> +    AsciiPrint ("\n  Redirection: 308 Permanent Redirect");
>      break;
> 
>    case HTTP_STATUS_400_BAD_REQUEST:
> --
> 2.13.0.windows.1



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

* Re: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe
  2017-06-08  6:40 [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe hegdenag
  2017-06-09  0:59 ` Wu, Jiaxin
@ 2017-06-09  7:33 ` Subramanian, Sriram
  1 sibling, 0 replies; 3+ messages in thread
From: Subramanian, Sriram @ 2017-06-09  7:33 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:11 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] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe

Add a error message in HttpBootPrintErrorMessage for HTTP 308
Redirect.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
---
 NetworkPkg/HttpBootDxe/HttpBootSupport.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NetworkPkg/HttpBootDxe/HttpBootSupport.c b/NetworkPkg/HttpBootDxe/HttpBootSupport.c
index 56c4c15836..181cb0d1f3 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootSupport.c
+++ b/NetworkPkg/HttpBootDxe/HttpBootSupport.c
@@ -186,6 +186,10 @@ HttpBootPrintErrorMessage (
 
   case HTTP_STATUS_307_TEMPORARY_REDIRECT:
     AsciiPrint ("\n  Redirection: 307 Temporary Redirect");
+    break;
+
+  case HTTP_STATUS_308_PERMANENT_REDIRECT:
+    AsciiPrint ("\n  Redirection: 308 Permanent Redirect");
     break; 
 
   case HTTP_STATUS_400_BAD_REQUEST:
-- 
2.13.0.windows.1



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

end of thread, other threads:[~2017-06-09  7:32 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] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe hegdenag
2017-06-09  0:59 ` Wu, Jiaxin
2017-06-09  7:33 ` Subramanian, Sriram

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