summaryrefslogtreecommitdiffstats
path: root/tests/baselineserver
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-04-12 17:28:37 +0100
committerQt by Nokia <qt-info@nokia.com>2012-04-12 18:49:14 +0200
commit3c0fdefc318eeeb019b3727962bea7ba7ea236d2 (patch)
tree44375bbab07dc9c7d232b8d1b701a0d1716ea2a0 /tests/baselineserver
parent17412400dc2887ccd52014a9c261c6ab1da44e01 (diff)
Fix autotest failures in QAbstractNetworkCache
The cache expiration calculation was previously removed to avoid calculating it every time an object is fetched from the cache. This is because the expiration date is calculated from max-age or expires headers when the object is added to the cache. However this broke the case where the server only provides a last-modified header. In this case, the expiration date needs to be checked at fetch time in order to add the warning if the object is >24h old. Change-Id: Iad381da0f91c27ac603abbaa94f268700ad2297f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/baselineserver')
0 files changed, 0 insertions, 0 deletions