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

Closes #1936, #1236
pull/2828/head
pukkandan 2 years ago
parent 2e4cacd038
commit dcd55f766d
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -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:

Loading…
Cancel
Save