diff options
author | hegdenag <nagaraj-p.hegde@hpe.com> | 2017-06-08 14:40:33 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2017-06-09 15:38:01 +0800 |
commit | 406d1d92a8d8daa50d65296096db725e6f164432 (patch) | |
tree | 88931adf85c6148a9f026fcff5f5cfbb069b8dc2 | |
parent | 7dec14b78f0b579a17050665832ed95b3ac4b53e (diff) | |
download | edk2-406d1d92a8d8daa50d65296096db725e6f164432.zip edk2-406d1d92a8d8daa50d65296096db725e6f164432.tar.gz edk2-406d1d92a8d8daa50d65296096db725e6f164432.tar.bz2 |
NetworkPkg/HttpBootDxe: Handle new #define in HttpBootDxe
Add a error message in HttpBootPrintErrorMessage for HTTP 308
Redirect.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
-rw-r--r-- | NetworkPkg/HttpBootDxe/HttpBootSupport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootSupport.c b/NetworkPkg/HttpBootDxe/HttpBootSupport.c index 56c4c15..8fe81eb 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootSupport.c +++ b/NetworkPkg/HttpBootDxe/HttpBootSupport.c @@ -186,6 +186,10 @@ HttpBootPrintErrorMessage ( case HTTP_STATUS_307_TEMPORARY_REDIRECT:
AsciiPrint ("\n Redirection: 307 Temporary Redirect");
+ break;
+
+ case HTTP_STATUS_308_PERMANENT_REDIRECT:
+ AsciiPrint ("\n Redirection: 308 Permanent Redirect");
break;
case HTTP_STATUS_400_BAD_REQUEST:
|