]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpDxe/HttpDriver.c
NetworkPkg:HttpDxe: Code changes to support HTTP PUT/POST operations
[mirror_edk2.git] / NetworkPkg / HttpDxe / HttpDriver.c
index 2518f4e707b608e1726999d3b84f04ca93add447..0bde012ebbb0b4d844e00024c3bf09ff60873847 100644 (file)
@@ -2,6 +2,7 @@
   The driver binding and service binding protocol for HttpDxe driver.\r
 \r
   Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
   The driver binding and service binding protocol for HttpDxe driver.\r
 \r
   Copyright (c) 2015, 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
@@ -939,6 +940,8 @@ HttpServiceBindingCreateChild (
   \r
   HttpInstance->Signature = HTTP_PROTOCOL_SIGNATURE;\r
   HttpInstance->Service   = HttpService;\r
   \r
   HttpInstance->Signature = HTTP_PROTOCOL_SIGNATURE;\r
   HttpInstance->Service   = HttpService;\r
+  HttpInstance->Method = HttpMethodMax;\r
+\r
   CopyMem (&HttpInstance->Http, &mEfiHttpTemplate, sizeof (HttpInstance->Http));\r
   NetMapInit (&HttpInstance->TxTokens);\r
   NetMapInit (&HttpInstance->RxTokens);\r
   CopyMem (&HttpInstance->Http, &mEfiHttpTemplate, sizeof (HttpInstance->Http));\r
   NetMapInit (&HttpInstance->TxTokens);\r
   NetMapInit (&HttpInstance->RxTokens);\r