summaryrefslogtreecommitdiff
path: root/NetworkPkg/HttpDxe/HttpImpl.h
diff options
context:
space:
mode:
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>2016-02-19 06:47:36 +0800
committerFu Siyuan <siyuan.fu@intel.com>2016-02-25 15:02:31 +0800
commit90f658c460736462d8955c0be7e4c0fa57097586 (patch)
tree3e9f1a7178c76fe6077dc58e377e4854b4d4d810 /NetworkPkg/HttpDxe/HttpImpl.h
parent003f3c00d819e3a072133e0dbb7ca896cc87871b (diff)
downloadedk2-90f658c460736462d8955c0be7e4c0fa57097586.tar.gz
NetworkPkg: Use Http11 definitions in HttpDxe and HttpBootDxe
Change HttpDxe and HttpBootDxe to use the standard definitions from Http11.h instead of private duplicate definitions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/HttpDxe/HttpImpl.h')
-rw-r--r--NetworkPkg/HttpDxe/HttpImpl.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/NetworkPkg/HttpDxe/HttpImpl.h b/NetworkPkg/HttpDxe/HttpImpl.h
index 38228425b..415b5e5e9 100644
--- a/NetworkPkg/HttpDxe/HttpImpl.h
+++ b/NetworkPkg/HttpDxe/HttpImpl.h
@@ -2,6 +2,7 @@
The header files of implementation of EFI_HTTP_PROTOCOL protocol interfaces.
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
+ (C) Copyright 2016 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
@@ -19,17 +20,10 @@
#define HTTP_DEFAULT_PORT 80
#define HTTP_END_OF_HDR_STR "\r\n\r\n"
#define HTTP_CRLF_STR "\r\n"
-#define HTTP_VERSION_STR "HTTP/1.1"
+#define HTTP_VERSION_STR HTTP_VERSION
#define HTTP_VERSION_CRLF_STR " HTTP/1.1\r\n"
-#define HTTP_GET_STR "GET "
-#define HTTP_HEAD_STR "HEAD "
#define HTTP_ERROR_OR_NOT_SUPPORT_STATUS_CODE 300
-//
-// Connect method has maximum length according to EFI_HTTP_METHOD defined in
-// UEFI2.5 spec so use this.
-//
-#define HTTP_MAXIMUM_METHOD_LEN sizeof ("CONNECT")
/**
Returns the operational parameters for the current HTTP child instance.