From 2c1c50fc61132517e352862b6748c57c5d443837 Mon Sep 17 00:00:00 2001 From: Nagaraj Hegde Date: Tue, 26 Apr 2016 11:46:45 +0800 Subject: [PATCH] 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 Reviewed-by: Samer El-Haj-Mahmoud Reviewed-by: Jiaxin Wu Reviewed-by: Fu Siyuan --- MdePkg/Include/IndustryStandard/Http11.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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