diff options
author | Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com> | 2015-09-21 08:00:09 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-09-21 08:00:09 +0000 |
commit | 3a263f4c8203ce57f1bcc4be59511bcf5f15ce43 (patch) | |
tree | 9348264250ae318515d10ee6609b2f3ae07225b7 /MdePkg | |
parent | e8a7f76f9c99c8329cc0c05a5eb8648c413a1183 (diff) | |
download | edk2-platforms-3a263f4c8203ce57f1bcc4be59511bcf5f15ce43.tar.xz |
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.
(Sync patch r18520 from main trunk.)
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/branches/UDK2015@18522 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Protocol/Http.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/Http.h b/MdePkg/Include/Protocol/Http.h index b1f8c51341..64b31213a4 100644 --- a/MdePkg/Include/Protocol/Http.h +++ b/MdePkg/Include/Protocol/Http.h @@ -5,6 +5,7 @@ HTTP Protocol (HTTP)
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
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
@@ -54,7 +55,8 @@ typedef enum { HttpMethodHead,
HttpMethodPut,
HttpMethodDelete,
- HttpMethodTrace
+ HttpMethodTrace,
+ HttpMethodMax
} EFI_HTTP_METHOD;
///
|