From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) (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 CA28921A143DA for ; Fri, 9 Jun 2017 00:29:23 -0700 (PDT) Received: from G9W8453.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.160.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3427.houston.hpe.com (Postfix) with ESMTPS id 1E5307B for ; Fri, 9 Jun 2017 07:30:33 +0000 (UTC) Received: from G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) by G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 9 Jun 2017 07:30:33 +0000 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (15.241.52.13) 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:30:33 +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:30:31 +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:30:31 +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] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode Thread-Index: AQHS4CIkUU7m91fqxEujZqvtf4wU/6IcI+Yg Date: Fri, 9 Jun 2017 07:30:31 +0000 Message-ID: References: <20170608064009.16320-1-nagaraj-p.hegde@hpe.com> In-Reply-To: <20170608064009.16320-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:AHT7yxMUCKMsuRAewQKfJSOXx7OWfkYBYG0XpcTTg2xGOsYuBuJxtltNYRxsAIOlS+63obG5MB2B+UGXDA/E7tZ5Zw8uRkyyJazJ6O6jFFiIVdMtwTSXJGVmU8h4E+z5mOoHcDb2EFgKcQk6NNNGrkuioOoGrWpnZsuWkHvxgUO5KKtaCpVwqRqLtTh6GPTmvMGZzbLuXvCfYQmouRTY/yhuykXQ7LtLcEbM57S39SfPiLhOTtoklSsfTsDqjxN6BqLHLAIc60oRLEjxKjRr2Wlf7bGKOTHhpcfu0cDOQtScz/RPxL781si3VAgPQ5bDlNAtxemwNM7HBzADLu87PQ== x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10019020)(979002)(6009001)(6029001)(39410400002)(39400400002)(39860400002)(39450400003)(39850400002)(39840400002)(13464003)(377454003)(74316002)(3280700002)(122556002)(478600001)(38730400002)(50986999)(54356999)(2950100002)(229853002)(6506006)(14454004)(189998001)(2906002)(8936002)(305945005)(7736002)(76176999)(77096006)(6436002)(81166006)(8676002)(2501003)(7696004)(66066001)(102836003)(6116002)(3846002)(53546009)(6246003)(4326008)(86362001)(25786009)(2900100001)(5660300001)(33656002)(54906002)(9686003)(53936002)(55016002)(3660700001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:TU4PR84MB0256; H:TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; x-ms-traffictypediagnostic: TU4PR84MB0256: x-ms-office365-filtering-correlation-id: da6640a2-b978-45d0-11ab-08d4af0968ae 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:30:31.0793 (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] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode 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:29:24 -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:10 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] MdeModulePkg/DxeHttpLib: Handle new #define in Http= MappingToStatusCode Related to the ECR for support of HTTP Redirect (308) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hegde Nagaraj P --- MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Li= brary/DxeHttpLib/DxeHttpLib.c index 292923875f..b781fc416f 100644 --- a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c +++ b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c @@ -1943,6 +1943,8 @@ HttpMappingToStatusCode ( return HTTP_STATUS_305_USE_PROXY; case 307: return HTTP_STATUS_307_TEMPORARY_REDIRECT; + case 308: + return HTTP_STATUS_308_PERMANENT_REDIRECT; case 400: return HTTP_STATUS_400_BAD_REQUEST; case 401: --=20 2.13.0.windows.1