It would be convenient if there was sub-class that pre-defined exceptions for common HTTP error contains. Nicely designed module. Thanks for sharing it!