Skip to content

Commit 4682d02

Browse files
committed
fix: client always follow redirects
1 parent 124cdaf commit 4682d02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

canvassyncer/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def __init__(self, connectionCount, token, proxies):
2828
headers={"Authorization": f"Bearer {token}"},
2929
proxies=proxies,
3030
transport=httpx.AsyncHTTPTransport(retries=3),
31+
follow_redirects=True,
3132
)
3233

3334
async def downloadOne(self, src, dst):

0 commit comments

Comments
 (0)