Skip to content
Myr

urllib3 update

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 cfc19b4 · Browse files · 1 file+3 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+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:requests/packages/urllib3/connectionpool.py+3 added-1 removed
282 unmodified lines
283 # Make the request on the httplib connection object284 httplib_response = self._make_request(conn, method, url,285 timeout=timeout,286 body=body, headers=headers)287288 # Import httplib's response into our own wrapper object289 response = HTTPResponse.from_httplib(httplib_response,290 pool=self,291 connection=conn,
17 unmodified lines
309310 finally:311 if release_conn:312 # Put the connection back to be reused312 self._put_conn(conn)313 response.release_conn() # Equivalent to self._put_conn(conn) but314 # tracks release state.315316 if not conn:317 log.warn("Retrying (%d attempts remain) after connection "318 "broken by '%r': %s" % (retries, e, url))
196 unmodified lines