MdePkg/Include: Add HTTP definitions

BZ #2915, https://bugzilla.tianocore.org/show_bug.cgi?id=2915

Add HTTP chunk transfer definitions.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wang Fan <fan.wang@intel.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Abner Chang 2020-10-16 16:27:39 +08:00 committed by mergify[bot]
parent d25fd8710d
commit a7d977040b
1 changed files with 5 additions and 1 deletions

View File

@ -146,7 +146,11 @@
/// is a property of the message, not of the entity.
///
#define HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding"
#define HTTP_HEADER_TRANSFER_ENCODING_CHUNKED "chunked"
#define CHUNKED_TRNASFER_CODING_CR '\r'
#define CHUNKED_TRNASFER_CODING_LF '\n'
#define CHUNKED_TRNASFER_CODING_LAST_CHUNK '0'
#define CHUNKED_TRNASFER_CODING_EXTENSION_SAPERATOR ';'
///
/// User Agent Request Header