W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2014

Re: [whatwg] Fetch API: HTTP Stream

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 23 Jun 2014 13:42:10 +0200
Message-ID: <CADnb78icALWpxwXLz-cXHKNYE22B4GNj3m3JSAKhX0qGW4Wb8Q@mail.gmail.com>
To: Alexandre Morgaut <Alexandre.Morgaut@4d.com>
Cc: WHATWG <whatwg@whatwg.org>
On Mon, Jun 23, 2014 at 1:36 PM, Alexandre Morgaut
<Alexandre.Morgaut@4d.com> wrote:
> I wonder now if such fetch API could be a better place to manage such use case

The plan is for response.body (the promise fetch() returns resolves
once all the headers are in) to be a stream:
http://fetch.spec.whatwg.org/#body-stream-concept

If you want to contribute to IO stream development:
https://github.com/whatwg/streams


-- 
http://annevankesteren.nl/
Received on Monday, 23 June 2014 11:42:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:21 UTC