top | item 43842071

(no title)

foundzen | 10 months ago

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.

discuss

order

Aachen|10 months ago

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