From 6807fa854da64166e84efd0074b1e4dfeb5d8b17 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Sep 2011 06:28:09 +0000 Subject: Sniff content types where appropriate. We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons) svn path=/trunk/netsurf/; revision=12707 --- content/content_factory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/content_factory.h') diff --git a/content/content_factory.h b/content/content_factory.h index 777e314f0..b383f461b 100644 --- a/content/content_factory.h +++ b/content/content_factory.h @@ -82,7 +82,8 @@ nserror content_factory_register_handler(lwc_string *mime_type, const content_handler *handler); struct content *content_factory_create_content(struct llcache_handle *llcache, - const char *fallback_charset, bool quirks); + const char *fallback_charset, bool quirks, + lwc_string *effective_type); content_type content_factory_type_from_mime_type(lwc_string *mime_type); -- cgit v1.2.3