Add ability to pass `response` to `HTTPError()`
authorDmitry Medvinsky <me@dmedvinsky.name>
Fri, 1 Mar 2013 08:43:39 +0000 (12:43 +0400)
committerDmitry Medvinsky <me@dmedvinsky.name>
Sun, 3 Mar 2013 06:05:42 +0000 (10:05 +0400)
commitc4f9340fb4df41d7a8be66ee41c40bfed64ec6d6
treee366dc5f2f11e5a67ab59a824fcd9faa14428dbc
parentd372a5b10b7707a666bec2c6554431e200e74573
Add ability to pass `response` to `HTTPError()`

Just a little refactoring, but it seems nicer to me to be able to pass
the response when constructing the `HTTPError` instance instead of
constructing it and then changing the member variable.
AUTHORS.rst
requests/exceptions.py
requests/models.py
test_requests.py