mshtml: Return text/html by default in GetContentType.

This commit is contained in:
Jacek Caban 2006-06-25 14:14:16 +02:00 committed by Alexandre Julliard
parent 2218bfcc8e
commit f46c3997ed
1 changed files with 3 additions and 2 deletions

View File

@ -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,