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:
2f98ef1
)
Don't need to unquote twice.
author
Cory Benfield
<lukasaoz@gmail.com>
Sun, 12 Jan 2014 14:46:40 +0000
(14:46 +0000)
committer
Cory Benfield
<lukasaoz@gmail.com>
Sun, 12 Jan 2014 14:46:40 +0000
(14:46 +0000)
requests/adapters.py
patch
|
blob
|
history
diff --git
a/requests/adapters.py
b/requests/adapters.py
index 43addb1b67bd2e7016e91d65609b3a9767a75bcb..dd10e9593386438b88874ea490de52cded208e82 100644
(file)
--- a/
requests/adapters.py
+++ b/
requests/adapters.py
@@
-286,10
+286,6
@@
class HTTPAdapter(BaseAdapter):
username, password = get_auth_from_url(proxy)
if username and password:
- # Proxy auth usernames and passwords will be urlencoded, we need
- # to decode them.
- username = unquote(username)
- password = unquote(password)
headers['Proxy-Authorization'] = _basic_auth_str(username,
password)