public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdePkg/Include: Add HTTP definitions
@ 2020-09-28  6:00 Abner Chang
  2020-10-14  5:23 ` 回复: [edk2-devel] " gaoliming
  0 siblings, 1 reply; 2+ messages in thread
From: Abner Chang @ 2020-09-28  6:00 UTC (permalink / raw)
  To: devel
  Cc: abner.chang, Michael D Kinney, Liming Gao, Zhiguang Liu,
	Wu Jiaxin, Fu Siyuan, Wang Fan, Nickle Wang, Maciej Rabeda

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

Add definitions for HTTP chunk transfer. HTTP chunk
would be used in UEFI Redfish solution for provisioning
or patch BIOS Redfish properties.

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>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
---
 MdePkg/Include/IndustryStandard/Http11.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/MdePkg/Include/IndustryStandard/Http11.h b/MdePkg/Include/IndustryStandard/Http11.h
index d124bec37b0..890bb6913bd 100644
--- a/MdePkg/Include/IndustryStandard/Http11.h
+++ b/MdePkg/Include/IndustryStandard/Http11.h
@@ -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
-- 
2.21.0.windows.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* 回复: [edk2-devel] [PATCH] MdePkg/Include: Add HTTP definitions
  2020-09-28  6:00 [PATCH] MdePkg/Include: Add HTTP definitions Abner Chang
@ 2020-10-14  5:23 ` gaoliming
  0 siblings, 0 replies; 2+ messages in thread
From: gaoliming @ 2020-10-14  5:23 UTC (permalink / raw)
  To: devel, abner.chang
  Cc: 'Michael D Kinney', 'Zhiguang Liu',
	'Wu Jiaxin', 'Fu Siyuan', 'Wang Fan',
	'Nickle Wang', 'Maciej Rabeda'

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: bounce+27952+65675+4905953+8761045@groups.io
> <bounce+27952+65675+4905953+8761045@groups.io> 代表 Abner Chang
> 发送时间: 2020年9月28日 14:01
> 收件人: devel@edk2.groups.io
> 抄送: abner.chang@hpe.com; Michael D Kinney
> <michael.d.kinney@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>;
> Zhiguang Liu <zhiguang.liu@intel.com>; Wu Jiaxin <jiaxin.wu@intel.com>; Fu
> Siyuan <siyuan.fu@intel.com>; Wang Fan <fan.wang@intel.com>; Nickle
> Wang <nickle.wang@hpe.com>; Maciej Rabeda
> <maciej.rabeda@linux.intel.com>
> 主题: [edk2-devel] [PATCH] MdePkg/Include: Add HTTP definitions
> 
> BZ #2915,
> https://bugzilla.tianocore.org/show_bug.cgi?id=2915
> 
> Add definitions for HTTP chunk transfer. HTTP chunk
> would be used in UEFI Redfish solution for provisioning
> or patch BIOS Redfish properties.
> 
> 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>
> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
> ---
>  MdePkg/Include/IndustryStandard/Http11.h | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/MdePkg/Include/IndustryStandard/Http11.h
> b/MdePkg/Include/IndustryStandard/Http11.h
> index d124bec37b0..890bb6913bd 100644
> --- a/MdePkg/Include/IndustryStandard/Http11.h
> +++ b/MdePkg/Include/IndustryStandard/Http11.h
> @@ -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
> --
> 2.21.0.windows.1
> 
> 
> 
> 
> 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-14  5:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-28  6:00 [PATCH] MdePkg/Include: Add HTTP definitions Abner Chang
2020-10-14  5:23 ` 回复: [edk2-devel] " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox