Skip to content

Commit

Permalink
Fixed warnings message to suggest using secure protocol. (#6188)
Browse files Browse the repository at this point in the history
  • Loading branch information
slyapustin committed Jun 29, 2022
1 parent 4d39457 commit bda7f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests/models.py
Expand Up @@ -438,7 +438,7 @@ def prepare_url(self, url, params):
if not scheme:
raise MissingSchema(
f"Invalid URL {url!r}: No scheme supplied. "
f"Perhaps you meant http://{url}?"
f"Perhaps you meant https://{url}?"
)

if not host:
Expand Down

0 comments on commit bda7f01

Please sign in to comment.