Search Issue Tracker
Won't Fix
Votes
1
Found in
5.6.0f3
Issue ID
903061
Regression
No
UnityWebRequest disregards Etag and Last-Modified headers on Editor and Android
Preparation:
To reproduce the issue you'll need a software for tracking HTTP requests and responses.
I used Charles 4.1. After starting the application it acts as a proxy, reading all outgoing and incoming web requests
Steps to reproduce:
1. Open the project attached
2. Enter Play mode
3. Observe HTTP response from httpbin.org/cache is "HTTP/1.1 200 OK"
4. Reenter Play mode
Result: HTTP response is "HTTP/1.1 200 OK" again
Expected result: HTTP response is "HTTP/1.1 304 NOT MODIFIED", as it received Etag and Last-Modified headers on the first request for caching.
Reproduced on:
- LG Nexus 5X (Android 7.1.2) on Unity 5.6.0p2, 2017.1.0b1
- Editor (OSX) versions 5.4.5f1, 5.5.3p1, 5.6.0p2, 2017.1.0b1
Did not reproduce on:
- iPad 2 Mini (iOS 9.2.1) on Unity 5.5.3p1, 5.6.0p2, 2017.1.0b1
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
BuannArt
Aug 07, 2018 12:02
Any reason this won't be fixed ? Not being able to use a standard http header like "If-Modified-Since" is a real trouble.