Skip to content
Myr

fixed proxy

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

authored by ben · committed by ben · parent fc0565f · 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