[aria2c] Add --http-accept-gzip=true

Closes #1936, #1236
This commit is contained in:
pukkandan 2022-02-18 17:17:45 +05:30
parent 2e4cacd038
commit dcd55f766d
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -253,7 +253,7 @@ def supports_manifest(manifest):
def _make_cmd(self, tmpfilename, info_dict):
cmd = [self.exe, '-c',
'--console-log-level=warn', '--summary-interval=0', '--download-result=hide',
'--file-allocation=none', '-x16', '-j16', '-s16']
'--http-accept-gzip=true', '--file-allocation=none', '-x16', '-j16', '-s16']
if 'fragments' in info_dict:
cmd += ['--allow-overwrite=true', '--allow-piece-length-change=true']
else: