Responses to request with AlwaysNetwork set should be cached
authorMartin Petersson <Martin.Petersson@nokia.com>
Mon, 16 Apr 2012 10:41:42 +0000 (12:41 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Apr 2012 16:35:58 +0000 (18:35 +0200)
commit0a5440b2f05d2cebf5b47e2155a3ed0f65d5d0d1
treed45f24b3aab5a8e3390b705320cbbbfe6a45b758
parent2b1e0940fd8a6f95483470245cb4f56cd8cbb526
Responses to request with AlwaysNetwork set should be cached

Previously the cache was not enabled if the request had AlwaysNetwork
set. This removes the check for the CacheLoadControlAttribute when
checking if the cache should be enabled.

Task-number: QTBUG-15805
Change-Id: I3d0722fbc1e6c77c5b947a2af0a09e2de8f4f9df
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
src/network/access/qnetworkreplyhttpimpl.cpp
src/network/access/qnetworkreplyimpl.cpp