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

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