Let's just use requests' built-in HTTPError.
Forgot to commit the compat module.