News for hackers. Stuff that matters.
Re:BitTorrent vs. HTTP by motoboi on Tuesday January 24, 2017 @07:28AM (#13470777)
> As for the body of the content? For a gzipped value like this, it's everything outside the header, until EOF. That's not quite as easy as when the content-length parameter is given, but hardly difficult for parsing.

This is chunked and keep- alive. Things get a little trickier

Re:BitTorrent vs. HTTP by shakna on Tuesday January 24, 2017 @07:33AM (#13470793)
True, you keep the connection open, and receive a length of expected bytes, and then said bytes, until 0 is sent. Still simple enough that there are a dozen implementations of less than a page, only a search away.