Search Issue Tracker
Not Reproducible
Votes
1
Found in
4.6.0p1
Issue ID
652658
Regression
No
[WWW] [iOS] [Android] Status and other keys missing from WWW.responseHeaders on mobile
To Reproduce:
1. Play the attached project in editor & click "Header test", notice the printed out responseHeaders.
2. Deploy the same project to iOS or Android notice, that some of the headers are missing. For example there is no Status key on iOS, and even if there is a key value pair for status on android, the Status key itself is null.
(see the attached screenshots)
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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
mitchmeyer1
Jun 19, 2017 12:30
I ended up moving to BestHTTP library. I would suggest it for anyone having issues with WWW.
andersemil
Feb 16, 2015 12:03
Same problem here. We ended up testing with the following hack:
int statusCode = 200;
if (!String.IsNullOrEmpty (www.error))
{
//first three characters hold the three digit statuscode
statusCode = int.Parse (www.error.substring (0,3));
}
TeBeer
Feb 13, 2015 06:40
I am also getting a key/value pair in response headers like this:
(NULL:HTTP/1.1 200 OK)
Happens on android, haven't tested on iOS.