am d5ad08bd: am 2e778c17: Merge change I124356f6 into eclair

Merge commit 'd5ad08bd4230c2f5d58969c624c39a3f5a2019d1' into eclair-mr2-plus-aosp

* commit 'd5ad08bd4230c2f5d58969c624c39a3f5a2019d1':
  Continue caching "POST" result so that we won't get
This commit is contained in:
Grace Kloba
2009-10-12 18:41:22 -07:00
committed by Android Git Automerger

View File

@@ -408,8 +408,7 @@ class LoadListener extends Handler implements EventHandler {
mStatusCode == HTTP_MOVED_PERMANENTLY ||
mStatusCode == HTTP_TEMPORARY_REDIRECT) &&
mNativeLoader != 0) {
if (!mFromCache && mRequestHandle != null
&& !mRequestHandle.getMethod().equals("POST")) {
if (!mFromCache && mRequestHandle != null) {
mCacheResult = CacheManager.createCacheFile(mUrl, mStatusCode,
headers, mMimeType, false);
}