]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpDxe/HttpImpl.h
NetworkPkg: Use Http11 definitions in HttpDxe and HttpBootDxe
[mirror_edk2.git] / NetworkPkg / HttpDxe / HttpImpl.h
index 38228425bb5092b3c39e5ee2164798aaecdc52e4..415b5e5e95c0813737717d4ab651b48c65614945 100644 (file)
@@ -2,6 +2,7 @@
   The header files of implementation of EFI_HTTP_PROTOCOL protocol interfaces.\r
 \r
   Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
   The header files of implementation of EFI_HTTP_PROTOCOL protocol interfaces.\r
 \r
   Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>  \r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 #define HTTP_DEFAULT_PORT        80\r
 #define HTTP_END_OF_HDR_STR      "\r\n\r\n"\r
 #define HTTP_CRLF_STR            "\r\n"\r
 #define HTTP_DEFAULT_PORT        80\r
 #define HTTP_END_OF_HDR_STR      "\r\n\r\n"\r
 #define HTTP_CRLF_STR            "\r\n"\r
-#define HTTP_VERSION_STR         "HTTP/1.1"\r
+#define HTTP_VERSION_STR         HTTP_VERSION\r
 #define HTTP_VERSION_CRLF_STR    " HTTP/1.1\r\n"\r
 #define HTTP_VERSION_CRLF_STR    " HTTP/1.1\r\n"\r
-#define HTTP_GET_STR             "GET "\r
-#define HTTP_HEAD_STR            "HEAD "\r
 #define HTTP_ERROR_OR_NOT_SUPPORT_STATUS_CODE         300\r
 \r
 #define HTTP_ERROR_OR_NOT_SUPPORT_STATUS_CODE         300\r
 \r
-//\r
-// Connect method has maximum length according to EFI_HTTP_METHOD defined in\r
-// UEFI2.5 spec so use this.\r
-//\r
-#define HTTP_MAXIMUM_METHOD_LEN  sizeof ("CONNECT")\r
 \r
 /**\r
   Returns the operational parameters for the current HTTP child instance.\r
 \r
 /**\r
   Returns the operational parameters for the current HTTP child instance.\r