- From: Jonas Sicking <jonas@sicking.cc>
- Date: Wed, 16 Mar 2016 14:16:56 -0700
- To: Gomer Thomas <gomer@gomert-consulting.com>
- Cc: Hallvord Reiar Michaelsen Steen <hsteen@mozilla.com>, WebApps WG <public-webapps@w3.org>
On Wed, Mar 16, 2016 at 1:54 PM, Gomer Thomas <gomer@gomert-consulting.com> wrote: > but I need a cross-browser solution in the near future Another solution that I think would work cross-browser is to use "text/plain;charset=ISO-8859-15" as content-type. That way I *think* you can simply read xhr.responseText to get an ever growing string with the data downloaded so far. Each character in the string represents one byte of the downloaded data. So to get the 15th byte, use xhr.responseText.charAt(15). / Jonas
Received on Wednesday, 16 March 2016 21:18:03 UTC