What if Selenium+Chromedriver headless cannot download the file?

if you don"t use headless, you can download it, but you can"t use headless. Is there any way to solve this problem?
versions are all up to date: Selenium:3.141 Chromedriver:2.45 Chrome: 71.0.3578.80

configuration is as follows:

chrome_options = webdriver.ChromeOptions()
    chrome_options.add_argument("--headless")
    chrome_options.add_argument("--disable-gpu")
    prefs = {"profile.default_content_settings.popups": 0, "download.default_directory": "E:/File/"}
    chrome_options.add_experimental_option("prefs", prefs)
    browser = webdriver.Chrome(executable_path="./chromedriver.exe", chrome_options=chrome_options)
Jan.28,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beaef2-311b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beaef2-311b5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?