summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Base.h
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2016-01-28 15:34:11 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-02-03 11:48:33 +0800
commit10a3840ff9edbe7038ced76c551bffd087dc4387 (patch)
tree6b0f18d0c5d8010632dde3f3809d7ec4f9a963a9 /MdePkg/Include/Base.h
parentbec55c33c77253cd71773cca8b4f15b9f99b2b14 (diff)
downloadedk2-10a3840ff9edbe7038ced76c551bffd087dc4387.tar.gz
edk2-10a3840ff9edbe7038ced76c551bffd087dc4387.tar.bz2
edk2-10a3840ff9edbe7038ced76c551bffd087dc4387.zip
MdePkg:Add a new error status code EFI_HTTP_ERROR.
v2: *Return the EFI_HTTP_ERROR in the “Status” field in token, instead of in the status codes returned table of EFI_HTTP_PROTOCOL.Response() interface. Add a new error status code EFI_HTTP_ERROR in corresponding with the UEFI 2.6 spec Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'MdePkg/Include/Base.h')
-rw-r--r--MdePkg/Include/Base.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index 85ed34f088..882b5a6793 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -6,7 +6,7 @@
environment. There are a set of base libraries in the Mde Package that can
be used to implement base modules.
-Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -941,6 +941,11 @@ typedef UINTN RETURN_STATUS;
#define RETURN_COMPROMISED_DATA ENCODE_ERROR (33)
///
+/// A HTTP error occurred during the network operation.
+///
+#define RETURN_HTTP_ERROR ENCODE_ERROR (35)
+
+///
/// The string contained one or more characters that
/// the device could not render and were skipped.
///