Priority: P2: Important
Affects Version/s: 5.5.1
Fix Version/s: None
Component/s: Network: Cache
When the expirationDate on a url cache expire, on the subsequent request, the QNetworkRequest::SourceIsFromCacheAttribute is set to true, even if the cache was expired and a network call was required.
How to reproduce:
1) Create a http request and set the expirationDate to be a specific time (ie: 20seconds).
2) Wait until the 20seconds pass and try to make the same request (with the same url)
- The QNetworkRequest::SourceIsFromCacheAttribute should be set to false, since the data came from the network (and not from the cache)
- The QNetworkRequest::SourceIsFromCacheAttribute is set to true.