Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sergey Lyapustin · committed by GitHub · parent 4d39457 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
436 unmodified lines
437438 if not scheme:439 raise MissingSchema(440 f"Invalid URL {url!r}: No scheme supplied. "441 f"Perhaps you meant http://{url}?"441 f"Perhaps you meant https://{url}?"442 )443444 if not host:445 raise InvalidURL(f"Invalid URL {url!r}: No host supplied")
589 unmodified lines