Skip to content
Myr

get_auth_from_url return None if nothing is found

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 1325409 · 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/utils.py+1 added-1 removed
586 unmodified lines
587 if url:588 parsed = urlparse(url)589 return (parsed.username, parsed.password)590 else:591 return ('', '')591 return None