Skip to content
Myr

first

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 19d38d5 · 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
397 unmodified lines
398399 def prepare_auth(self, auth, url=''):400 """Prepares the given HTTP auth data."""401402 # If no Auth is explicitly provided, extract it from the URL.402 # If no Auth is explicitly provided, extract it from the URL first.403 if auth is None:404 url_auth = get_auth_from_url(self.url)405 auth = url_auth if any(url_auth) else None406
264 unmodified lines