Thanks for the redirection Anne
On 23 juin 2014, at 13:42, Anne van Kesteren wrote:
> On Mon, Jun 23, 2014 at 1:36 PM, Alexandre Morgaut
> 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
On Mon, Jun 23, 2014 at 1:36 PM, Alexandre Morgaut
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-con
Hi,
I occasionally have had to deal live XML feeds over HTTP
The server continuously sent HTTP chunks during the lifetime of the HTTP
connection, meaning, until the client close the connection.
I used a SAX JS lib and, on readystate === 3, had to continuously check body
changes via a setInterv