summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2011-05-04 13:47:06 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-10 12:54:56 +0200
commitf38a639a419fda0024659bdc6c03e0b6250188f7 (patch)
treedef8c82c958e9b81a94cb2304d1bb20fa264979a /doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp
parentbf89190cfbf74c3187840a03ff6e8246c51bd393 (diff)
HTTP backend: do not load resources from cache that must be revalidated
The header field "Cache-Control: must-revalidate" is a strict requirement for loading the resource from the server, and not reading it from the cache without revalidating first. With this patch, PreferCache will load such from the network instead of loading them from the cache, and AlwaysCache will throw a ContentNotFound error. Reviewed-by: Markus Goetz Task-number: QTBUG-18983 (cherry picked from commit 0e449f38894b1bd2dbb2f14206a011424679f063)
Diffstat (limited to 'doc/src/snippets/code/src.gui.text.qtextdocumentwriter.cpp')
0 files changed, 0 insertions, 0 deletions