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

Networking

-

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)

Comments (3)

  1. mitchmeyer1

    Jun 19, 2017 12:30

    I ended up moving to BestHTTP library. I would suggest it for anyone having issues with WWW.

  2. 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));
    }

  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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.