Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raise_for_status() raises the same exception, with the response's _content available from the exception's `response` attribute. Moreover, passing the headers as a positional argument when creating the exception makes the api key from the authorization header show up in the string representation of the exception in logs and messages.
- Loading branch information