public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: hegdenag <nagaraj-p.hegde@hpe.com>
To: edk2-devel@lists.01.org
Cc: jiaxin.wu@intel.com, sriram-s@hpe.com, siyuan.fu@intel.com,
	ting.ye@intel.com
Subject: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe
Date: Thu,  8 Jun 2017 12:10:33 +0530	[thread overview]
Message-ID: <20170608064033.11300-1-nagaraj-p.hegde@hpe.com> (raw)

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



             reply	other threads:[~2017-06-08  6:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08  6:40 hegdenag [this message]
2017-06-09  0:59 ` [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe Wu, Jiaxin
2017-06-09  7:33 ` Subramanian, Sriram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170608064033.11300-1-nagaraj-p.hegde@hpe.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox