From: Kenneth Reitz Date: Mon, 14 Feb 2011 03:53:14 +0000 (-0500) Subject: Wow, and AUTO_AUTH works. first try! X-Git-Tag: v0.2.0~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59c6aebd606e3c5fb7b684817faa92051fc0295a;p=services%2Fpython-requests.git Wow, and AUTO_AUTH works. first try! --- diff --git a/requests/core.py b/requests/core.py index 0fa5fd1..89cc009 100644 --- a/requests/core.py +++ b/requests/core.py @@ -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