[1/3] msxml3: Recognise PROPFIND method in open()

Nikolay Sivov nsivov at codeweavers.com
Mon Jun 25 02:50:16 CDT 2012


Recognise PROPFIND method in open()
-------------- next part --------------
>From 21ac7ccad8e0f8a4c39ec02351384f114fab402b Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat, 23 Jun 2012 17:06:04 +0400
Subject: [PATCH 07/10] 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);
-- 
1.5.6.5




More information about the wine-patches mailing list