Closed diwu1989 closed 9 years ago
requests has a built in method for handling http errors http://docs.python-requests.org/en/latest/api/#requests.Response.raise_for_status
Beautiful! Thanks, @diwu1989!
requests has a built in method for handling http errors http://docs.python-requests.org/en/latest/api/#requests.Response.raise_for_status