]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/HttpDxe/HttpImpl.c
NetworkPkg:Add a new error status code EFI_HTTP_ERROR
authorZhang Lubo <lubo.zhang@intel.com>
Fri, 29 Jan 2016 03:17:34 +0000 (11:17 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 3 Feb 2016 03:48:36 +0000 (11:48 +0800)
commit072289f45c7ac13e6f70ba4ad739e95086e5d2d2
treebf90d3afaf7c4d06cd801d31f5e06cfea092f658
parent10a3840ff9edbe7038ced76c551bffd087dc4387
NetworkPkg:Add a new error status code EFI_HTTP_ERROR

v4:
* Update macro HTTP_ERROR_STATUS to HTTP_ERROR_OR_NOT_SUPPORT_STATUS_CODE
Update copyright year.
When the Error Status of ResponseData returned from HttpIoRecvResponse
function during the Http HEAD method, it should also return error status
to Load file protocol.

Add a new error status code EFI_HTTP_ERROR in corresponding with the
UEFI 2.6 spec . When a HTTP error occurred during the network operation,
The EFI_HTTP_ERROR is returned in token.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@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: Ye Ting <ting.ye@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
NetworkPkg/HttpBootDxe/HttpBootClient.c
NetworkPkg/HttpBootDxe/HttpBootSupport.c
NetworkPkg/HttpBootDxe/HttpBootSupport.h
NetworkPkg/HttpDxe/HttpImpl.c
NetworkPkg/HttpDxe/HttpImpl.h
NetworkPkg/HttpDxe/HttpProto.h