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/hlcache.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/hlcache.h')
-rw-r--r-- | content/hlcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/hlcache.h b/content/hlcache.h index 2372158e1..714fcce45 100644 --- a/content/hlcache.h +++ b/content/hlcache.h @@ -60,7 +60,9 @@ enum hlcache_retrieve_flag { * To avoid confusion, high-level flags are allocated from bit 31 down. */ /** It's permitted to convert this request into a download */ - HLCACHE_RETRIEVE_MAY_DOWNLOAD = (1 << 31) + HLCACHE_RETRIEVE_MAY_DOWNLOAD = (1 << 31), + /* Permit content-type sniffing */ + HLCACHE_RETRIEVE_SNIFF_TYPE = (1 << 30) }; /** |