From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 BDA6521A143CE for ; Thu, 8 Jun 2017 17:59:08 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2017 18:00:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,316,1493708400"; d="scan'208";a="1158361839" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 08 Jun 2017 18:00:18 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Jun 2017 18:00:18 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Jun 2017 18:00:04 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.122]) with mapi id 14.03.0319.002; Fri, 9 Jun 2017 08:59:50 +0800 From: "Wu, Jiaxin" To: hegdenag , "edk2-devel@lists.01.org" CC: "sriram-s@hpe.com" , "Fu, Siyuan" , "Ye, Ting" Thread-Topic: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe Thread-Index: AQHS4CI/uk+JM5fsGUG/xJ9UaLUtc6Ibttxg Date: Fri, 9 Jun 2017 00:59:50 +0000 Message-ID: <895558F6EA4E3B41AC93A00D163B7274162DAC06@SHSMSX103.ccr.corp.intel.com> References: <20170608064033.11300-1-nagaraj-p.hegde@hpe.com> In-Reply-To: <20170608064033.11300-1-nagaraj-p.hegde@hpe.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzUzMDQ5YWItMzY4ZS00YWI0LTgwMjktMDZlOWVkMGQ1NDk3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdTaDU4cDBsWjhXMG5xaTdkYk5uXC9iaUdEOERFWVpvZ2FUUDNFbkNOS1JFPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: Fri, 09 Jun 2017 00:59:09 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Wu Jiaxin > -----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 ; sriram-s@hpe.com; Fu, Siyuan > ; Ye, Ting > Subject: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in > HttpBootDxe >=20 > Add a error message in HttpBootPrintErrorMessage for HTTP 308 > Redirect. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hegde Nagaraj P > --- > NetworkPkg/HttpBootDxe/HttpBootSupport.c | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > 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 ( >=20 > 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; >=20 > case HTTP_STATUS_400_BAD_REQUEST: > -- > 2.13.0.windows.1