Fixed warnings message to suggest using secure protocol. (#6188)

This commit is contained in:
Sergey Lyapustin
2022-06-29 20:41:49 +02:00
committed by GitHub
parent 4d394574f5
commit bda7f0171f
+1 -1
View File
@@ -438,7 +438,7 @@ class PreparedRequest(RequestEncodingMixin, RequestHooksMixin):
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: