Wow, and AUTO_AUTH works. first try!
authorKenneth Reitz <me@kennethreitz.com>
Mon, 14 Feb 2011 03:53:14 +0000 (22:53 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Mon, 14 Feb 2011 03:53:14 +0000 (22:53 -0500)
requests/core.py

index 0fa5fd1..89cc009 100644 (file)
@@ -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