Skip to content

Commit ef83900

Browse files
authored
Merge pull request #401 from dwinston/patch-2
allow redirects for has_database head request Thank you Donny!
2 parents 1123baa + f4e8746 commit ef83900

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

terminusdb_client/client/Client.py

+1
Original file line numberDiff line numberDiff line change
@@ -2932,6 +2932,7 @@ def has_database(self, dbid: str, team: Optional[str] = None) -> bool:
29322932
f"{self.api}/db/{team}/{dbid}",
29332933
headers=self._default_headers,
29342934
auth=self._auth(),
2935+
allow_redirects=True,
29352936
)
29362937
return r.status_code == 200
29372938

0 commit comments

Comments
 (0)