]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Display HTTP redirection info to the screen if need.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 26 Jul 2017 07:57:38 +0000 (15:57 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Thu, 3 Aug 2017 06:12:43 +0000 (14:12 +0800)
commitbb4831c03dd15ff8528dcdbc7d2ad1835f55563e
tree343482b29459ea663d2f29c526531b9fadaac964
parentf11a7a555269f469b609ceb77221b59ec9b93ba9
NetworkPkg: Display HTTP redirection info to the screen if need.

HTTP defines a set of status code for redirecting a request to a different URI
in Section 6.4 of RFC7231 and also RFC7583. This patch updates the HTTP boot
driver to display the redirection info to the screen so the user would have
chance to know new URI address of the HTTP boot image.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
NetworkPkg/HttpBootDxe/HttpBootDxe.h
NetworkPkg/HttpBootDxe/HttpBootImpl.c
NetworkPkg/HttpBootDxe/HttpBootSupport.c
NetworkPkg/HttpBootDxe/HttpBootSupport.h