Nikolay Sivov : msxml3: Recognise PROPFIND method in open().

Alexandre Julliard julliard at winehq.org
Mon Jun 25 13:24:14 CDT 2012


Module: wine
Branch: master
Commit: d7a21dedbb15633fafd265babcc6698a3d87f5b7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d7a21dedbb15633fafd265babcc6698a3d87f5b7

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat Jun 23 17:06:04 2012 +0400

msxml3: Recognise PROPFIND method in open().

---

 dlls/msxml3/httprequest.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c
index ea5fb14..4ce5a77 100644
--- a/dlls/msxml3/httprequest.c
+++ b/dlls/msxml3/httprequest.c
@@ -759,6 +759,7 @@ static HRESULT httprequest_open(httprequest *This, BSTR method, BSTR url,
     static const WCHAR MethodPutW[] = {'P','U','T',0};
     static const WCHAR MethodPostW[] = {'P','O','S','T',0};
     static const WCHAR MethodDeleteW[] = {'D','E','L','E','T','E',0};
+    static const WCHAR MethodPropFindW[] = {'P','R','O','P','F','I','N','D',0};
     VARIANT str, is_async;
     HRESULT hr;
 
@@ -782,7 +783,8 @@ static HRESULT httprequest_open(httprequest *This, BSTR method, BSTR url,
     {
         This->verb = BINDVERB_POST;
     }
-    else if (!strcmpiW(method, MethodDeleteW))
+    else if (!strcmpiW(method, MethodDeleteW) ||
+             !strcmpiW(method, MethodPropFindW))
     {
         This->verb = BINDVERB_CUSTOM;
         SysReAllocString(&This->custom, method);




More information about the wine-cvs mailing list