From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) (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 1375721967BC4 for ; Fri, 9 Jun 2017 00:32:42 -0700 (PDT) Received: from G2W6309.americas.hpqcorp.net (g2w6309.austin.hp.com [16.197.64.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 5D1047A for ; Fri, 9 Jun 2017 07:33:51 +0000 (UTC) Received: from G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) by G2W6309.americas.hpqcorp.net (2002:10c5:4033::10c5:4033) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 9 Jun 2017 07:33:50 +0000 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (15.241.52.12) by G9W8454.americas.hpqcorp.net (16.216.161.4) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Fri, 9 Jun 2017 07:33:50 +0000 Received: from TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.COM (10.162.187.21) by TU4PR84MB0256.NAMPRD84.PROD.OUTLOOK.COM (10.162.186.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Fri, 9 Jun 2017 07:33:49 +0000 Received: from TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.COM ([10.162.187.21]) by TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.COM ([10.162.187.21]) with mapi id 15.01.1143.019; Fri, 9 Jun 2017 07:33:48 +0000 From: "Subramanian, Sriram" To: "Hegde, Nagaraj P" , "edk2-devel@lists.01.org" CC: "jiaxin.wu@intel.com" , "siyuan.fu@intel.com" , "ting.ye@intel.com" Thread-Topic: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe Thread-Index: AQHS4CI0kwDI6i7ASEiPabFlsWg3/qIcJA+g Date: Fri, 9 Jun 2017 07:33:48 +0000 Message-ID: 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: authentication-results: hpe.com; dkim=none (message not signed) header.d=none;hpe.com; dmarc=none action=none header.from=hpe.com; x-originating-ip: [49.205.217.113] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; TU4PR84MB0256; 7:E9wlX/V/RiiGhvALzPzicZt2Id8q6LY4UoZSkMz0NpjGoYxqfMz+6qQ2XKurRJsaptvxZhgaE06J4UzaNqGGNorT9UmxhTQpEpmV8OJDbfpa0FKWDeKw+HaG3QEt8LztYMQyB/JVweRDVzU78kLEm6FMonAXjGIEkzeyb/rz9M2Q0IeigYUvsItAMAUq/hu7MJBeJWl0ggBTocqDCNZQTYo18Xqa3T263WSLS2R1bFyVtdcndWrcJ8Lz7axdmwNC9yj8tVasjHrt+2bmksQgpfsmoxWG+jcvogPV+74uNuMZ6MxWf+vIbhVT1lB2DCaf30wbUIlR19e82YSM/4SJtA== x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(6009001)(39850400002)(39840400002)(39450400003)(39410400002)(39400400002)(39860400002)(13464003)(377454003)(53546009)(6246003)(575784001)(4326008)(66066001)(2501003)(7696004)(102836003)(3846002)(54906002)(53936002)(55016002)(3660700001)(9686003)(25786009)(86362001)(5660300001)(33656002)(2900100001)(54356999)(50986999)(14454004)(2950100002)(229853002)(6506006)(122556002)(478600001)(74316002)(3280700002)(38730400002)(81166006)(8676002)(2906002)(8936002)(189998001)(6436002)(77096006)(305945005)(76176999)(7736002); DIR:OUT; SFP:1102; SCL:1; SRVR:TU4PR84MB0256; H:TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:sfv; LANG:en; x-ms-traffictypediagnostic: TU4PR84MB0256: x-ms-office365-filtering-correlation-id: b11ea6b6-fb6e-43ba-8c3e-08d4af09de77 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:TU4PR84MB0256; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(227479698468861)(162533806227266)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:TU4PR84MB0256; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:TU4PR84MB0256; x-forefront-prvs: 03333C607F spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2017 07:33:48.5681 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR84MB0256 X-OriginatorOrg: hpe.com 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 07:32:42 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Sriram Subramanian -----Original Message----- From: Hegde, Nagaraj P=20 Sent: Thursday, June 8, 2017 12:11 PM To: edk2-devel@lists.01.org Cc: jiaxin.wu@intel.com; Subramanian, Sriram ; siyuan.fu@= intel.com; ting.ye@intel.com Subject: [PATCH v1 1/1] NetworkPkg/HttpBootDxe: Handle new #define in HttpB= ootDxe 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/HttpBoot= Dxe/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 =20 case HTTP_STATUS_400_BAD_REQUEST: --=20 2.13.0.windows.1