-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpClient.GetAsync() does not return a response #46
Comments
How about this issue #48 ? |
I'll take a look at this in the next couple of days. Does it sometimes work to download the JSON or is it 100% not working? |
Hi Odimond, |
Thank you @Reda-S for debugging this. Indeed XMLHttpRequest.response should return text if the request type is text. I fixed the native implementation of XmlHttpRequest to not fail in getResponse if the request type is text and instead return the text. |
The fix is in master. Please re-open the issue if you encounter it again. |
Hi HoloJS,
We have an existing application that uses ThreeJS in the browser and requests JSON from a server using XmlHttpRequest (inside THREE.FileLoader) which I am trying to get running in HoloJS.
In HoloJsHost.XmlHttpRequest.DownloadAsync() the HttpClient.GetAsync() method sends the request to the server. I can see in the server's console that the request comes through and the JSON is produced, however I never get either a success or failure response message.
Thanks.
The text was updated successfully, but these errors were encountered: