Jacek Caban : mshtml: Return text/html by default in GetContentType.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 26 07:13:00 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: f46c3997edb765e6d533c1f9a0e746fe014dc0e4
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f46c3997edb765e6d533c1f9a0e746fe014dc0e4
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Jun 25 14:14:16 2006 +0200
mshtml: Return text/html by default in GetContentType.
---
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 3c12f4c..31a713c 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -480,8 +480,9 @@ static nsresult NSAPI nsChannel_GetConte
if(This->channel)
return nsIChannel_GetContentType(This->channel, aContentType);
- FIXME("default action not implemented\n");
- return NS_ERROR_NOT_IMPLEMENTED;
+ TRACE("returning default text/html\n");
+ nsACString_Init(aContentType, "text/html");
+ return NS_OK;
}
static nsresult NSAPI nsChannel_SetContentType(nsIHttpChannel *iface,
More information about the wine-cvs
mailing list