add the content length if not in headers