News for hackers. Stuff that matters.
Re:Go HTTP2 demo by rakoo on Friday March 06, 2015 @07:56AM (#9156777)
> I didn't know that HTTP2 supports streaming data

It's not specific to HTTP2, and is in fact possible since the server doesn't send a Content-Length so the client doesn't know when the server is done. Think of it not as streaming, but as a really slow and consistent huge response. HTTP2 just makes it smoother (remember: HTTP2 doesn't change semantics, it only changes how things are represented on the wire)

Now, the way the demo server uses that is a bit rough; there is a specification for that in the form of Server-Sent events (https://developer.mozilla.org/en-US/docs/Server-sent_events/...).

There are no comments on this comment yet.