Make APICache always update entries correctly.
Review Request #6772 — Created Jan. 14, 2015 and submitted — Latest diff uploaded
APICachenow properly updates entries when the
ETagheaders change and the
Varyheader does not.
Previously, the entries would only be updated if the
MockUrlOpenertest harness to compare the provided
If-Modified-Sinceheader against the
Added a test for the
header combination. It makes additional requests after the
Last-Modifiedheader is modified to ensure that the cache entry is
Updated the test for the
combination to make another request after the
ETagis modified to
verify that the cache entry is updated.
Ran unit tests.