Set content length header based on body length to simplify manual recording changes.