Skip to content
Myr

Merge pull request #267 from benmao/develop

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

fixed proxy

authored by Kenneth Reitz · committed by Kenneth Reitz · parents fc0565f, 35b0c5e · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
375 unmodified lines
376 _p = urlparse(url)377 proxy = self.proxies.get(_p.scheme)378379 if proxy:380 conn = poolmanager.proxy_from_url(url)380 conn = poolmanager.proxy_from_url(proxy)381 else:382 # Check to see if keep_alive is allowed.383 if self.config.get('keep_alive'):384 conn = self._poolmanager.connection_from_url(url)
208 unmodified lines