Module: wine Branch: refs/heads/master Commit: f46c3997edb765e6d533c1f9a0e746fe014dc0e4 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f46c3997edb765e6d533c1f9... Author: Jacek Caban <jacek(a)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,