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