summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhegdenag <nagaraj-p.hegde@hpe.com>2017-06-08 14:40:33 +0800
committerFu Siyuan <siyuan.fu@intel.com>2017-06-09 15:38:01 +0800
commit406d1d92a8d8daa50d65296096db725e6f164432 (patch)
tree88931adf85c6148a9f026fcff5f5cfbb069b8dc2
parent7dec14b78f0b579a17050665832ed95b3ac4b53e (diff)
downloadedk2-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.c4
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: