From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 E89B621A143CE for ; Thu, 8 Jun 2017 17:57:37 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP; 08 Jun 2017 17:58:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,316,1493708400"; d="scan'208";a="112723713" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 08 Jun 2017 17:58:47 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 8 Jun 2017 17:58:47 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.116]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.197]) with mapi id 14.03.0319.002; Fri, 9 Jun 2017 08:58:35 +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] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode Thread-Index: AQHS4CIXbS7njGGs80qLRyK2CxDk+qIbtmvw Date: Fri, 9 Jun 2017 00:58:34 +0000 Message-ID: <895558F6EA4E3B41AC93A00D163B7274162DABCE@SHSMSX103.ccr.corp.intel.com> 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: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWJiYzU1OTQtMzRkZi00NDgyLWFiOTgtMjI0NjJjNWU2Y2ZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS45LjYuNiIsIlRydXN0ZWRMYWJlbEhhc2giOiJYTlhJVnFuUCttM2VHV21BU0x6RUhmS3N2bkJUQVZEeDJiSnZuT3pmYW00PSJ9 x-ctpclassification: CTP_PUBLIC 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] 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 00:57:38 -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:40 PM > To: edk2-devel@lists.01.org > Cc: Wu, Jiaxin ; sriram-s@hpe.com; Fu, Siyuan > ; Ye, Ting > Subject: [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in > HttpMappingToStatusCode >=20 > Related to the ECR for support of HTTP Redirect (308) >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Hegde Nagaraj P > --- > MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c > b/MdeModulePkg/Library/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: > -- > 2.13.0.windows.1