public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Subramanian, Sriram" <sriram-s@hpe.com>
To: "Hegde, Nagaraj P" <nagaraj-p.hegde@hpe.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "jiaxin.wu@intel.com" <jiaxin.wu@intel.com>,
	"siyuan.fu@intel.com" <siyuan.fu@intel.com>,
	"ting.ye@intel.com" <ting.ye@intel.com>
Subject: Re: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe
Date: Fri, 9 Jun 2017 07:33:48 +0000	[thread overview]
Message-ID: <TU4PR84MB0207013715254AEF33CCE0FE80CE0@TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20170608064033.11300-1-nagaraj-p.hegde@hpe.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



      parent reply	other threads:[~2017-06-09  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=TU4PR84MB0207013715254AEF33CCE0FE80CE0@TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.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