From 8ab9f7690ee9a2ca198509b692a457b7409dfc1b Mon Sep 17 00:00:00 2001 From: hegdenag Date: Thu, 8 Jun 2017 14:39:03 +0800 Subject: [PATCH] MdePkg/Http.h: Add #define for 308 redirect Adding Support for the ECR for HTTP 308 redirect. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hegde Nagaraj P Reviewed-by: Wu Jiaxin Reviewed-by: Sriram Subramanian Reviewed-by: Fu Siyuan --- MdePkg/Include/Protocol/Http.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/Protocol/Http.h b/MdePkg/Include/Protocol/Http.h index 269416c9fc..f7a9aa6472 100644 --- a/MdePkg/Include/Protocol/Http.h +++ b/MdePkg/Include/Protocol/Http.h @@ -5,7 +5,7 @@ HTTP Protocol (HTTP) Copyright (c) 2016, Intel Corporation. All rights reserved.
- (C) Copyright 2015 Hewlett Packard Enterprise Development LP
+ (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -103,7 +103,8 @@ typedef enum { HTTP_STATUS_502_BAD_GATEWAY, HTTP_STATUS_503_SERVICE_UNAVAILABLE, HTTP_STATUS_504_GATEWAY_TIME_OUT, - HTTP_STATUS_505_HTTP_VERSION_NOT_SUPPORTED + HTTP_STATUS_505_HTTP_VERSION_NOT_SUPPORTED, + HTTP_STATUS_308_PERMANENT_REDIRECT } EFI_HTTP_STATUS_CODE; ///