You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with binary data, we need to set the responseType property of the XmlHttpRequest instance either to arraybuffer or blob. Then, when the request is done and the response is availbe, the response property of the instance should either be an array buffer or a blob with the binary data. Unfortunately JavaScriptCore does neither have Uint8Array nor Blob implemented. Because of that we would first need to create implementations for those two interfaces and provide them to the JavaScript context before we could implement binary data. Of course this is possible, but it's a lot of work. And it's more work than I can spend on this library right now, but of course I accept pull requests any time 😉 .
Hi,
It seems this will work only for text data.
https://github.com/Lukas-Stuehrk/XMLHTTPRequest/blob/master/XMLHTTPRequest/XMLHTTPRequest.m#L73
Is it possible to do anything for binary data?
The text was updated successfully, but these errors were encountered: