W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010


From: Darin Fisher <darin@chromium.org>
Date: Mon, 26 Apr 2010 15:21:46 -0700
Message-ID: <s2qbd8f24d21004261521q7a0cb011p93d87cef8015c81d@mail.gmail.com>
To: Web Applications Working Group WG <public-webapps@w3.org>
There is some interest from application developers at Google in being able
to get a Blob corresponding to the response body of a XMLHttpRequest.

The use case is to improve the efficiency of getting a Blob from a binary
resource downloaded via XHR.

The alternative is to play games with character encodings so that
responseText can be used to fetch an image as a string, and then use
BlobBuilder to reconstruct the image file, again being careful with the
implicit character conversions.  All of this is very inefficient.

Is there any appetite for adding a responseBlob getter on XHR?

Received on Monday, 26 April 2010 22:22:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:07 UTC