I am currently researching the possibility of reading partial XHR responses with binary data. Our current approach is based on the 'responseText' property and base64 encoding. Clearly, this is far from optimal.
How could we read partial Blob/ArrayBuffer responses using XHR? When I try in Chrome, the entire ArrayBuffer/Blob is made available when readyState = 4, but not before that.
To summarize, it seems to me that:
Am I missing something here? What approach could we take to read partial binary responses?
Keep your eyes on the fetch API, currently supported by Firefox and Chrome.