We end in raise_for_status(), so the client's contract includes httpx.HTTPStatusError and httpx's version is part of its public API. Callers should not need to know the transport: a client library's job is to speak the domain, and this is the one place it doesn't.
We end in raise_for_status(), so the client's contract includes httpx.HTTPStatusError and httpx's version is part of its public API. Callers should not need to know the transport: a client library's job is to speak the domain, and this is the one place it doesn't.