Skip to content
Myr

todo

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

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:requests/models.py+3 added
260 unmodified lines
261 except urllib2.HTTPError, why:262 self._build_response(why)263 if not self.redirect:264 self.response.error = why265266 # TODO: Support urllib connection refused errors267268 except urllib2.URLError, error:269 raise Timeout if isinstance(error.reason, socket.timeout) else error270 else:271 self._build_response(resp)
238 unmodified lines