Hacker News new | past | comments | ask | show | jobs | submit login

> 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




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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: