Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is surprising that it works (I haven't tried it). `Content-Length` had one goal - to ensure data integrity by comparing the response size with this header value. I expect http client to deal with this out of the box, whether gzip or not. Is it not the case? If yes, that changes everything, a lot of servers need priority updates.


You don't need to set a content length header, it'll take the page as finished when you close the connection




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

Search: