Skip to content

Commit

Permalink
get_async follow redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
equinor-ruaj committed Oct 9, 2023
1 parent 2a7abbd commit 3fb4e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sumo/wrapper/sumo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ async def get_async(self, path: str, **params):
"authorization": f"Bearer {token}",
}

async with httpx.AsyncClient() as client:
async with httpx.AsyncClient(follow_redirects=True) as client:
response = await client.get(
f"{self.base_url}{path}",
params=self._process_params(params),
Expand Down

0 comments on commit 3fb4e4f

Please sign in to comment.