Jacek Caban : mshtml: Added nsIChannel::GetRequestMethod implementation.

Alexandre Julliard julliard at winehq.org
Wed Aug 4 12:27:22 CDT 2010


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Aug  3 21:40:30 2010 +0200

mshtml: Added nsIChannel::GetRequestMethod implementation.

---

 dlls/mshtml/nsio.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index db6b9eb..13dbc44 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -1041,9 +1041,10 @@ static nsresult NSAPI nsChannel_GetRequestMethod(nsIHttpChannel *iface, nsACStri
 {
     nsChannel *This = NSCHANNEL_THIS(iface);
 
-    FIXME("(%p)->(%p)\n", This, aRequestMethod);
+    TRACE("(%p)->(%p)\n", This, aRequestMethod);
 
-    return NS_ERROR_NOT_IMPLEMENTED;
+    nsACString_SetData(aRequestMethod, request_method_strings[This->request_method]);
+    return NS_OK;
 }
 
 static nsresult NSAPI nsChannel_SetRequestMethod(nsIHttpChannel *iface,




More information about the wine-cvs mailing list