summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
diff options
context:
space:
mode:
authorGrace Kloba <>2009-03-24 17:37:48 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-24 17:37:48 -0700
commitac9de62d2bdc3f16a43cc6681e0a10a9a366a54f (patch)
treeb4f0b83053b64906b09c3855404aa874f12b0d6a /core/java/android/webkit
parentcb8bf488c146d1ddde5cc6a66fc312a6cc1f818f (diff)
downloadframeworks_base-ac9de62d2bdc3f16a43cc6681e0a10a9a366a54f.zip
frameworks_base-ac9de62d2bdc3f16a43cc6681e0a10a9a366a54f.tar.gz
frameworks_base-ac9de62d2bdc3f16a43cc6681e0a10a9a366a54f.tar.bz2
Automated import from //branches/donutburger/...@140424,140424
Diffstat (limited to 'core/java/android/webkit')
-rw-r--r--core/java/android/webkit/ContentLoader.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/webkit/ContentLoader.java b/core/java/android/webkit/ContentLoader.java
index fb01c8c..f6d7f69 100644
--- a/core/java/android/webkit/ContentLoader.java
+++ b/core/java/android/webkit/ContentLoader.java
@@ -105,6 +105,9 @@ class ContentLoader extends StreamLoader {
if (mContentType != null) {
headers.setContentType("text/html");
}
+ // override the cache-control header set by StreamLoader as content can
+ // change, we don't want WebKit to cache it
+ headers.setCacheControl("no-store, no-cache");
}
/**