Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 78677a6

Browse files
feat: Check if url arg is an HTTP URL
1 parent f10fba0 commit 78677a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgrest/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ def get_origin_and_cast(typ: type[type[_T]]) -> type[_T]:
3838
return cast(Type[_T], get_origin(typ))
3939

4040

41-
def is_https_url(url: str) -> bool:
41+
def is_http_url(url: str) -> bool:
4242
return urlparse(url).scheme in {"https", "http"}

0 commit comments

Comments
 (0)