That depends on the protocol being used. If this is HTTP you should be looking at the Content-Length header.