Comment 1 for bug 1379249

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

The requests library (which is currently the gold standard for handling HTTP in Python) manages to provide both interfaces (exceptions or member variable inspection) successfully:

http://docs.python-requests.org/en/latest/user/quickstart/#response-status-codes