reset the content length when the body was reset