NetworkPkg: Fix typos in some EFI_HTTP_STATUS_CODE definitions

Fix spelling typos in EFI_HTTP_STATUS_CODE definitions for error 415 and 501.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18521 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Samer El-Haj-Mahmoud 2015-09-21 07:53:16 +00:00 committed by sfu5
parent cfc4616333
commit 8cfd008ef8
2 changed files with 5 additions and 4 deletions

View File

@ -95,11 +95,11 @@ typedef enum {
HTTP_STATUS_412_PRECONDITION_FAILED, HTTP_STATUS_412_PRECONDITION_FAILED,
HTTP_STATUS_413_REQUEST_ENTITY_TOO_LARGE, HTTP_STATUS_413_REQUEST_ENTITY_TOO_LARGE,
HTTP_STATUS_414_REQUEST_URI_TOO_LARGE, HTTP_STATUS_414_REQUEST_URI_TOO_LARGE,
HTTP_STATUS_415_UNSUPPORETD_MEDIA_TYPE, HTTP_STATUS_415_UNSUPPORTED_MEDIA_TYPE,
HTTP_STATUS_416_REQUESTED_RANGE_NOT_SATISFIED, HTTP_STATUS_416_REQUESTED_RANGE_NOT_SATISFIED,
HTTP_STATUS_417_EXPECTATION_FAILED, HTTP_STATUS_417_EXPECTATION_FAILED,
HTTP_STATUS_500_INTERNAL_SERVER_ERROR, HTTP_STATUS_500_INTERNAL_SERVER_ERROR,
HTTP_STATUS_501_NOT_IMIPLEMENTED, HTTP_STATUS_501_NOT_IMPLEMENTED,
HTTP_STATUS_502_BAD_GATEWAY, HTTP_STATUS_502_BAD_GATEWAY,
HTTP_STATUS_503_SERVICE_UNAVAILABLE, HTTP_STATUS_503_SERVICE_UNAVAILABLE,
HTTP_STATUS_504_GATEWAY_TIME_OUT, HTTP_STATUS_504_GATEWAY_TIME_OUT,

View File

@ -2,6 +2,7 @@
Miscellaneous routines for HttpDxe driver. Miscellaneous routines for HttpDxe driver.
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -893,7 +894,7 @@ HttpMappingToStatusCode (
case 414: case 414:
return HTTP_STATUS_414_REQUEST_URI_TOO_LARGE; return HTTP_STATUS_414_REQUEST_URI_TOO_LARGE;
case 415: case 415:
return HTTP_STATUS_415_UNSUPPORETD_MEDIA_TYPE; return HTTP_STATUS_415_UNSUPPORTED_MEDIA_TYPE;
case 416: case 416:
return HTTP_STATUS_416_REQUESTED_RANGE_NOT_SATISFIED; return HTTP_STATUS_416_REQUESTED_RANGE_NOT_SATISFIED;
case 417: case 417:
@ -901,7 +902,7 @@ HttpMappingToStatusCode (
case 500: case 500:
return HTTP_STATUS_500_INTERNAL_SERVER_ERROR; return HTTP_STATUS_500_INTERNAL_SERVER_ERROR;
case 501: case 501:
return HTTP_STATUS_501_NOT_IMIPLEMENTED; return HTTP_STATUS_501_NOT_IMPLEMENTED;
case 502: case 502:
return HTTP_STATUS_502_BAD_GATEWAY; return HTTP_STATUS_502_BAD_GATEWAY;
case 503: case 503: