Skip to content

Commit 3fb4e4f

Browse files
committed
get_async follow redirects
1 parent 2a7abbd commit 3fb4e4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sumo/wrapper/sumo_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ async def get_async(self, path: str, **params):
428428
"authorization": f"Bearer {token}",
429429
}
430430

431-
async with httpx.AsyncClient() as client:
431+
async with httpx.AsyncClient(follow_redirects=True) as client:
432432
response = await client.get(
433433
f"{self.base_url}{path}",
434434
params=self._process_params(params),

0 commit comments

Comments
 (0)