diff options
author | Grace Kloba <> | 2009-03-24 17:37:48 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-24 17:37:48 -0700 |
commit | ac9de62d2bdc3f16a43cc6681e0a10a9a366a54f (patch) | |
tree | b4f0b83053b64906b09c3855404aa874f12b0d6a /core/java/android/webkit | |
parent | cb8bf488c146d1ddde5cc6a66fc312a6cc1f818f (diff) | |
download | frameworks_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.java | 3 |
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"); } /** |