Re: Lazy Blob

On Wed, Aug 1, 2012 at 10:46 AM, Florian Bösch <pyalot@gmail.com> wrote:

> On Wed, Aug 1, 2012 at 6:40 PM, Glenn Adams <glenn@skynav.com> wrote:
>
>> Why restrict to XHR? How about WebSocket as data source?
>>
> Websockets support array buffers and therefore by extension any blob/file
> object. However as a stream oriented API websockets have no content
> aquisition, negotation, range and transfer semantics unless you prop those
> up by yourself as an application layer protocol.


I'm questioning defining a "LazyBlob" that is solely usable with XHR. It
would be better to have a more generic version IMO.

Received on Wednesday, 1 August 2012 16:52:06 UTC