Re: Streams and Blobs

On Fri, Mar 15, 2013 at 2:36 PM, Glenn Maynard <> wrote:
>> I guess we could always make the Stream object immediately produce an
>> error if .responseType is changed to something other than "stream".
> Specifically, I'd recommend that when readyState isn't UNSENT, setting
> responseType to "stream" should fail, and if readyState is set to "stream"
> then setting it to something else should fail.  That is, once the request is
> started it's too late to change into or out of stream mode.

That would mean not supporting the ability to choose to handle a
response as a Stream based on metadata in the response. That was the
reason we decided to support setting .responseType in the
HEADERS_RECEIVED state to other values. I don't see why the same
reasons doesn't apply here.

/ Jonas

Received on Saturday, 16 March 2013 00:24:19 UTC