diff options
author | Nagaraj Hegde <nagaraj-p.hegde@hpe.com> | 2016-04-26 11:46:45 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2016-04-27 10:15:17 +0800 |
commit | 2c1c50fc61132517e352862b6748c57c5d443837 (patch) | |
tree | 071f03a2217c2aa72d0d67476ca03d04f9df12e9 | |
parent | 481252bbc9c0883e444bcbedd990d8164d10cf89 (diff) | |
download | edk2-platforms-2c1c50fc61132517e352862b6748c57c5d443837.tar.xz |
MdePkg:Http11.h: Add defines for "Expect" header
Add #defines for "Expect" header, which is a part of RFC 2616
and used for HTTP PUT/POST operations.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde, Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
-rw-r--r-- | MdePkg/Include/IndustryStandard/Http11.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Http11.h b/MdePkg/Include/IndustryStandard/Http11.h index 8a09f96010..ace335a376 100644 --- a/MdePkg/Include/IndustryStandard/Http11.h +++ b/MdePkg/Include/IndustryStandard/Http11.h @@ -235,6 +235,20 @@ ///
#define HTTP_HEADER_X_AUTH_TOKEN "X-Auth-Token"
+///
+/// Expect Header
+/// The "Expect" header field in a request indicates a certain set of
+/// behaviors (expectations) that need to be supported by the server in
+/// order to properly handle this request. The only such expectation
+/// defined by this specification is 100-continue.
+///
+#define HTTP_HEADER_EXPECT "Expect"
+
+///
+/// Expect Header Value
+///
+#define HTTP_EXPECT_100_CONTINUE "100-continue"
+
#pragma pack()
#endif
|