From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C77BF20945533 for ; Wed, 7 Jun 2017 23:39:29 -0700 (PDT) Received: from hegdenag.asiapacific.hpqcorp.net (unknown [15.213.58.96]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 5012A75; Thu, 8 Jun 2017 06:40:34 +0000 (UTC) From: hegdenag To: edk2-devel@lists.01.org Cc: jiaxin.wu@intel.com, sriram-s@hpe.com, siyuan.fu@intel.com, ting.ye@intel.com Date: Thu, 8 Jun 2017 12:10:33 +0530 Message-Id: <20170608064033.11300-1-nagaraj-p.hegde@hpe.com> X-Mailer: git-send-email 2.13.0.windows.1 Subject: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 06:39:30 -0000 Add a error message in HttpBootPrintErrorMessage for HTTP 308 Redirect. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hegde Nagaraj P --- 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