Skip to content
Myr

Don't need to unquote twice.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cory Benfield · committed by Cory Benfield · parent 2f98ef1 · Browse files · 1 file+0 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:requests/adapters.py-4 removed
284 unmodified lines
285 headers = {}286 username, password = get_auth_from_url(proxy)287288 if username and password:289 # Proxy auth usernames and passwords will be urlencoded, we need290 # to decode them.291 username = unquote(username)292 password = unquote(password)289 headers['Proxy-Authorization'] = _basic_auth_str(username,290 password)291292 return headers
104 unmodified lines