make sure the Content-Length is correct