- Home /
Empty response headers with WWW + Firefox
Hi, I'm having a problem with WWW on Firefox: if the status of the response is other than 200, the HTTP headers come empty. I tested on all browsers, and Firefox is the only one showing this behavior. The text field is also empty, the only information I get is in the error field, but is not very helpful, it only says "Failed downloading someURL".
This is very annoying as I need to get the HTTP status header to know the reason of the failed request. I guess I can always return status 200 and pass the information I need in the body, but I hope I don't have to do it.
Any ideas on how to solve this issue?
Thanks!
Could you further explain what it is you are doing -
Is this meant to be a browser based game?
What is the text field you are referring to?
Could you in general just explain a bit more what you are trying to accomplish?
I'm mainly wondering why you would be using the WWW class in conjunction with a web browser - won't you normally call that from within your game?
Sorry if I misunderstood your question ;)