Adds a corresponding test.
Fixes the Windows proxy to not to delete the file in case of 304.
As a side effect the new code will not delete a cached file (previously downloaded f.e.) in case of a download error.
The test is passing on Android and Windows (with this modification) and fails on iOS as code 200 comes for the second request disregarding the If-Modified-Since header, as soon as we get code 200 in the first request (the file is being cached by the iOS proxy somewhere).
@shazron, could you please point to where to look at in the iOS implementation for this caching?
Adds a corresponding test. Fixes the Windows proxy to not to delete the file in case of 304. As a side effect the new code will not delete a cached file (previously downloaded f.e.) in case of a download error.
The test is passing on Android and Windows (with this modification) and fails on iOS as code 200 comes for the second request disregarding the
If-Modified-Since
header, as soon as we get code 200 in the first request (the file is being cached by the iOS proxy somewhere).@shazron, could you please point to where to look at in the iOS implementation for this caching?
Jira issue