Reviewed-by: Wu Jiaxin <jiaxin...@intel.com>

> -----Original Message-----
> From: hegdenag [mailto:nagaraj-p.he...@hpe.com]
> Sent: Thursday, June 8, 2017 2:41 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Jiaxin <jiaxin...@intel.com>; srira...@hpe.com; Fu, Siyuan
> <siyuan...@intel.com>; Ye, Ting <ting...@intel.com>
> Subject: [PATCH v1 1/1] 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.he...@hpe.com>
> ---
>  NetworkPkg/HttpBootDxe/HttpBootSupport.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/NetworkPkg/HttpBootDxe/HttpBootSupport.c
> b/NetworkPkg/HttpBootDxe/HttpBootSupport.c
> index 56c4c15836..181cb0d1f3 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:
> --
> 2.13.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to