Controlling HTTP requests and responses with the Content-Length header