Re: Lazy Blob

On Mon, Aug 6, 2012 at 12:33 PM, Glenn Maynard <glenn@zewt.org> wrote:
> On Mon, Aug 6, 2012 at 2:16 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>>
>> Since it appears my original email went unnoticed, here's another try.
>>
>> I think what you are looking for is Streams. The resulting code would
>> be something like:
>>
>> var xhr = new XMLHttpRequest();
>> xhr.responseType = "stream";
>> xhr.open(...);
>> xhr.send();
>> var stream = xhr.result;
>> otherGuy.postMessage(stream);
>
>
> I don't recall that proposal, and the name is too generic to search for.
> Can you give us a link?

Arthur was awesome enough to dig it up:

<http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1494.html>
<http://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm>

Though we would need to modify that proposal such that .response
returns a stream also in the OPENED state as long as the "send() flag"
is set.

/ Jonas

Received on Monday, 6 August 2012 20:29:16 UTC