public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wu, Jiaxin" <jiaxin.wu@intel.com>
To: hegdenag <nagaraj-p.hegde@hpe.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "sriram-s@hpe.com" <sriram-s@hpe.com>,
	"Fu, Siyuan" <siyuan.fu@intel.com>,
	 "Ye, Ting" <ting.ye@intel.com>
Subject: Re: [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode
Date: Fri, 9 Jun 2017 00:58:34 +0000	[thread overview]
Message-ID: <895558F6EA4E3B41AC93A00D163B7274162DABCE@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <20170608064009.16320-1-nagaraj-p.hegde@hpe.com>

Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>


> -----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 <jiaxin.wu@intel.com>; sriram-s@hpe.com; Fu, Siyuan
> <siyuan.fu@intel.com>; Ye, Ting <ting.ye@intel.com>
> Subject: [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in
> HttpMappingToStatusCode
> 
> Related to the ECR for support of HTTP Redirect (308)
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
> ---
>  MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> 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



  reply	other threads:[~2017-06-09  0:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08  6:40 [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode hegdenag
2017-06-09  0:58 ` Wu, Jiaxin [this message]
2017-06-09  7:30 ` Subramanian, Sriram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=895558F6EA4E3B41AC93A00D163B7274162DABCE@SHSMSX103.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox