From: "Subramanian, Sriram" <sriram-s@hpe.com>
To: "Hegde, Nagaraj P" <nagaraj-p.hegde@hpe.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "jiaxin.wu@intel.com" <jiaxin.wu@intel.com>,
"siyuan.fu@intel.com" <siyuan.fu@intel.com>,
"ting.ye@intel.com" <ting.ye@intel.com>
Subject: Re: [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode
Date: Fri, 9 Jun 2017 07:30:31 +0000 [thread overview]
Message-ID: <TU4PR84MB02079516EDE83BF5D66B0C7980CE0@TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20170608064009.16320-1-nagaraj-p.hegde@hpe.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
-----Original Message-----
From: Hegde, Nagaraj P
Sent: Thursday, June 8, 2017 12:10 PM
To: edk2-devel@lists.01.org
Cc: jiaxin.wu@intel.com; Subramanian, Sriram <sriram-s@hpe.com>; siyuan.fu@intel.com; 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
prev parent reply other threads:[~2017-06-09 7:29 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
2017-06-09 7:30 ` Subramanian, Sriram [this message]
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=TU4PR84MB02079516EDE83BF5D66B0C7980CE0@TU4PR84MB0207.NAMPRD84.PROD.OUTLOOK.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