MdePkg: Http.h - Add HttpMethodMax to EFI_HTTP_METHOD.

Add HttpMethodMax enum value to EFI_HTTP_METHOD to make it easier to iterate
through the HTTP methods using a loop.

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@18520 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Samer El-Haj-Mahmoud 2015-09-21 07:53:00 +00:00 committed by sfu5
parent 255c8e22a5
commit cfc4616333
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
HTTP Protocol (HTTP) HTTP Protocol (HTTP)
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
@ -54,7 +55,8 @@ typedef enum {
HttpMethodHead, HttpMethodHead,
HttpMethodPut, HttpMethodPut,
HttpMethodDelete, HttpMethodDelete,
HttpMethodTrace HttpMethodTrace,
HttpMethodMax
} EFI_HTTP_METHOD; } EFI_HTTP_METHOD;
/// ///