From 8da178073a98d5d32a13130d7603551b7a55ef07 Mon Sep 17 00:00:00 2001 From: Juan Carlos Date: Thu, 30 May 2024 18:32:56 -0300 Subject: [PATCH] Add follow_redirects=True --- postgrest/_sync/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/postgrest/_sync/client.py b/postgrest/_sync/client.py index 226e9994..75dc6cfe 100644 --- a/postgrest/_sync/client.py +++ b/postgrest/_sync/client.py @@ -47,6 +47,7 @@ def create_session( base_url=base_url, headers=headers, timeout=timeout, + follow_redirects=True, ) def __enter__(self) -> SyncPostgrestClient: