diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-04 06:28:09 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-04 06:28:09 +0000 |
commit | 6807fa854da64166e84efd0074b1e4dfeb5d8b17 (patch) | |
tree | 998672af3a94f2eac0434cc138efa151ebcd603b /content/content_factory.h | |
parent | 9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6 (diff) | |
download | netsurf-6807fa854da64166e84efd0074b1e4dfeb5d8b17.tar.gz netsurf-6807fa854da64166e84efd0074b1e4dfeb5d8b17.tar.bz2 |
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
Diffstat (limited to 'content/content_factory.h')
-rw-r--r-- | content/content_factory.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |