raise_for_status
now raises an exception for 1xx and 3xx responses
#2126
Labels
raise_for_status
now raises an exception for 1xx and 3xx responses
#2126
Hi!
I've just noticed that
response.raise_for_status()
now raises an exception for 1xx and 3xx requests. I don't think it was the case before (namely with version 0.18) and the documentation doesn't seem to have been updated here: https://www.python-httpx.org/exceptions/Steps to reproduce (even though I think this is an intentional behavior, the doc is just not up to date?)
The text was updated successfully, but these errors were encountered: