add a default required_length when call download_url_to_tempfileobj