Skip to content
Myr

import ConnectionError

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 147c241 · Browse files · 2 files+3 added−3 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+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:requests/__init__.py+2 added-2 removed
26 unmodified lines
27from .api import request, get, head, post, patch, put, delete28from .sessions import session29from .status_codes import codes30from .exceptions import (31 RequestException, AuthenticationError, Timeout, URLRequired,32 TooManyRedirects, HTTPError31 RequestException, Timeout, URLRequired,32 TooManyRedirects, HTTPError, ConnectionError33)
modified:requests/models.py+1 added-1 removed
442 unmodified lines
443 #: A dictionary of Cookies the server sent back.444 self.cookies = {}445446 #: Dictionary of configurations for this request.447 self.config = None447 self.config = {}448449450 def __repr__(self):451 return '<Response [%s]>' % (self.status_code)
98 unmodified lines