Skip to content
Myr

fix bug 2540

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

authored by sh1buy · committed by sh1buy · parent ccc03b9 · 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
356 unmodified lines
357 raise InvalidURL(*e.args)358359 if not scheme:360 raise MissingSchema("Invalid URL {0!r}: No schema supplied. "361 "Perhaps you meant http://{0}?".format(url))361 "Perhaps you meant http://{0}?".format(url.encode('utf8')))362363 if not host:364 raise InvalidURL("Invalid URL %r: No host supplied" % url)365
489 unmodified lines