mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Wow, and AUTO_AUTH works. first try!
This commit is contained in:
+1
-1
@@ -308,7 +308,7 @@ def _detect_auth(url, auth):
|
||||
|
||||
|
||||
def _get_autoauth(url):
|
||||
for (authauth_url, auth) in AUTOAUTHS:
|
||||
for (autoauth_url, auth) in AUTOAUTHS:
|
||||
if autoauth_url in url:
|
||||
return auth
|
||||
|
||||
|
||||
Reference in New Issue
Block a user