Re: [w3c/ServiceWorker] Should EventSource and WebSocket be exposed in service workers? (#947)

> Can/should apps be probing somehow to see if they have HTTP/2 all the way back to the origin server?

I guess so, just like they'd have to do with WebSocket today. But it should work with HTTP/1 too, in theory.

> On another note, does fetch streaming guarantee that HTTP chunk boundaries on the wire will be preserved through to Javascript?

Chunked is only applicable to HTTP/1 and if you use it via the mechanism defined in HTTP it will end up decoded by the time the data reaches JavaScript.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/947#issuecomment-300260874

Received on Tuesday, 9 May 2017 18:34:15 UTC