[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
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ class Aria2cFD(ExternalFD):
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: