Skip to content

Commit f86728f

Browse files
committed
handle http
1 parent 1f310d7 commit f86728f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ def _infer_protocol(path: str) -> str:
12951295
if is_platform_windows() and re.match(r"^[a-zA-Z]:[\\/]", path):
12961296
return "file"
12971297

1298-
if is_fsspec_url(path):
1298+
if is_fsspec_url(path) or path.startswith("http"):
12991299
parsed = parse_url(path)
13001300
return parsed.scheme
13011301
return "file"

0 commit comments

Comments
 (0)