add http2
This commit is contained in:
@@ -186,6 +186,7 @@ class DownloadManager(QObject):
|
||||
follow_redirects=True,
|
||||
verify=False,
|
||||
cookies=self.cookies,
|
||||
http2=True,
|
||||
) as client:
|
||||
# requête pour le téléchargement
|
||||
async with client.stream("GET", file.url, headers=headers) as response:
|
||||
|
||||
Reference in New Issue
Block a user