Index: net/http/http_cache_transaction.cc |
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc |
index cd3be51cb85e011beb11c1b85b7c9257d136d922..123a21763c117d92a9e23219117b0e7881981cf2 100644 |
--- a/net/http/http_cache_transaction.cc |
+++ b/net/http/http_cache_transaction.cc |
@@ -1530,6 +1530,11 @@ int HttpCache::Transaction::DoCacheQueryData() { |
} |
int HttpCache::Transaction::DoCacheQueryDataComplete(int result) { |
+ if (result == ERR_NOT_IMPLEMENTED) { |
+ // Send the network request if the backend does not support caching ranges. |
gavinp
2013/08/26 15:46:37
Should we add a TODO here for after the simple cac
pasko
2013/08/27 17:22:13
Done.
|
+ next_state_ = STATE_SEND_REQUEST; |
rvargas (doing something else)
2013/08/26 21:24:52
This is most likely not enough. It basically means
pasko
2013/08/27 17:22:13
Thanks!
Doing DoRestartPartialRequest() is indeed
|
+ return OK; |
+ } |
DCHECK_EQ(OK, result); |
if (!cache_.get()) |
return ERR_UNEXPECTED; |