Skip to content
Myr

v1.0.2

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent b30b09e · Browse files · 2 files+7 added−2 removed
This commit

State

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

Diff stats

2 files+7 added−2 removed

  • other:+7 added−2 removed

2 files+7 added−2 removed

modified:requests/adapters.py+2 added-2 removed
11 unmodified lines
12import socket1314from .models import Response15from .auth import HTTPProxyAuth16from .packages.urllib3.poolmanager import PoolManager, ProxyManager16from .packages.urllib3.poolmanager import PoolManager, proxy_from_url17from .hooks import dispatch_hook18from .compat import urlparse19from .utils import DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers20from .structures import CaseInsensitiveDict
97 unmodified lines
118 proxies = proxies or {}119 proxy = proxies.get(urlparse(url).scheme)120121 if proxy:122 conn = ProxyManager(self.poolmanager.proxy_from_url(proxy))122 conn = proxy_from_url(proxy)123 else:124 conn = self.poolmanager.connection_from_url(url)125126 return conn
52 unmodified lines
modified:HISTORY.rst+5 added
1 unmodified line
23History4-------561.0.2 (2012-12-17)7++++++++++++++++++89- Proxy fix for HTTPAdapter.10111.0.1 (2012-12-17)12++++++++++++++++++1314- Cert verification exception bug.
581 unmodified lines