public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: hegdenag <nagaraj-p.hegde@hpe.com>
To: edk2-devel@lists.01.org
Cc: jiaxin.wu@intel.com, sriram-s@hpe.com, siyuan.fu@intel.com,
	ting.ye@intel.com
Subject: [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode
Date: Thu,  8 Jun 2017 12:10:09 +0530	[thread overview]
Message-ID: <20170608064009.16320-1-nagaraj-p.hegde@hpe.com> (raw)

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-08  6:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08  6:40 hegdenag [this message]
2017-06-09  0:58 ` [PATCH v1 1/1] MdeModulePkg/DxeHttpLib: Handle new #define in HttpMappingToStatusCode Wu, Jiaxin
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=20170608064009.16320-1-nagaraj-p.hegde@hpe.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