summaryrefslogtreecommitdiff
path: root/content/llcache.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-09-04 06:28:09 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-09-04 06:28:09 +0000
commit6807fa854da64166e84efd0074b1e4dfeb5d8b17 (patch)
tree998672af3a94f2eac0434cc138efa151ebcd603b /content/llcache.h
parent9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6 (diff)
downloadnetsurf-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/llcache.h')
-rw-r--r--content/llcache.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/content/llcache.h b/content/llcache.h
index 215e6cc1a..e6584e165 100644
--- a/content/llcache.h
+++ b/content/llcache.h
@@ -89,12 +89,10 @@ enum llcache_retrieve_flag {
LLCACHE_RETRIEVE_FORCE_FETCH = (1 << 0),
/** Requested URL was verified */
LLCACHE_RETRIEVE_VERIFIABLE = (1 << 1),
- /** Permit content-type sniffing */
- LLCACHE_RETRIEVE_SNIFF_TYPE = (1 << 2),
/**< No error pages */
- LLCACHE_RETRIEVE_NO_ERROR_PAGES = (1 << 3),
+ LLCACHE_RETRIEVE_NO_ERROR_PAGES = (1 << 2),
/**< Stream data (implies that object is not cacheable) */
- LLCACHE_RETRIEVE_STREAM_DATA = (1 << 4)
+ LLCACHE_RETRIEVE_STREAM_DATA = (1 << 3)
};
/** Low-level cache query types */