projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f566bb2
)
Wow, and AUTO_AUTH works. first try!
author
Kenneth Reitz
<me@kennethreitz.com>
Mon, 14 Feb 2011 03:53:14 +0000
(22:53 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Mon, 14 Feb 2011 03:53:14 +0000
(22:53 -0500)
requests/core.py
patch
|
blob
|
history
diff --git
a/requests/core.py
b/requests/core.py
index
0fa5fd1
..
89cc009
100644
(file)
--- a/
requests/core.py
+++ b/
requests/core.py
@@
-308,7
+308,7
@@
def _detect_auth(url, auth):
def _get_autoauth(url):
- for (aut
h
auth_url, auth) in AUTOAUTHS:
+ for (aut
o
auth_url, auth) in AUTOAUTHS:
if autoauth_url in url:
return auth