add http2
This commit is contained in:
1 parent
ed5a381262
commit
a061ee20a8
1 file changed
+1
@@ -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