[webkit-dev] Content sniffing in WebCore

Allan Sandfeld Jensen kde at carewolf.com
Tue Jan 6 04:55:11 PST 2009


On Friday 10 October 2008, Benjamin Meyer wrote:
> For what it is worth with Konq with its KParts system will follow the
> content type and just load a a text editor in the browser if there is
> no content-type for example.

Not entirely. While Konqueror does no content-sniffing. It simply trusts the 
mimetypes of the network stack. The content "detection" is in the KDE HTTP-
daemon. Without content "detection" almost nothing would work. It is quite 
simple though, as it just replaces a few simple "unknown" types with the 
default type of the protocol (HTML). This is compatible with at least older 
versions of Firefox, but not with IE that completely ignores mimetype. 

`Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090106/77d800a8/attachment.html>


More information about the webkit-dev mailing list