Skip to content

Commit bda7f01

Browse files
authored
Fixed warnings message to suggest using secure protocol. (#6188)
1 parent 4d39457 commit bda7f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requests/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def prepare_url(self, url, params):
438438
if not scheme:
439439
raise MissingSchema(
440440
f"Invalid URL {url!r}: No scheme supplied. "
441-
f"Perhaps you meant http://{url}?"
441+
f"Perhaps you meant https://{url}?"
442442
)
443443

444444
if not host:

0 commit comments

Comments
 (0)