From f46c3997edb765e6d533c1f9a0e746fe014dc0e4 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sun, 25 Jun 2006 14:14:16 +0200 Subject: [PATCH] mshtml: Return text/html by default in GetContentType. --- dlls/mshtml/nsio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 3c12f4c2fb4..31a713cb5f7 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -480,8 +480,9 @@ static nsresult NSAPI nsChannel_GetContentType(nsIHttpChannel *iface, nsACString 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,