HTTPX2 is the maintained continuation of HTTPX under the Pydantic organization: https://httpx2.pydantic.dev/
VWS-Python already offers Requests, synchronous HTTPX, and asynchronous HTTPX transports. HTTPX2 is a natural additional transport family, but its clients, requests, responses, exceptions, and timeout objects are distinct from the corresponding HTTPX classes.
Add synchronous and asynchronous HTTPX2 transports.
Acceptance criteria:
- Users can choose HTTPX2-backed transports for synchronous and asynchronous VWS clients.
- Existing Requests and HTTPX transports continue to work.
- Timeout conversion, response conversion, closing, and exception behavior are covered for HTTPX2.
- No code path mixes HTTPX and HTTPX2 objects.
- The public API and documentation clearly distinguish the two transport families.
- The HTTPX2 paths are exercised against the mock package as well as unit tests where practical.
HTTPX2's package-maintainer guidance may be useful: https://httpx2.pydantic.dev/migration/#for-package-maintainers
HTTPX2 is the maintained continuation of HTTPX under the Pydantic organization: https://httpx2.pydantic.dev/
VWS-Python already offers Requests, synchronous HTTPX, and asynchronous HTTPX transports. HTTPX2 is a natural additional transport family, but its clients, requests, responses, exceptions, and timeout objects are distinct from the corresponding HTTPX classes.
Add synchronous and asynchronous HTTPX2 transports.
Acceptance criteria:
HTTPX2's package-maintainer guidance may be useful: https://httpx2.pydantic.dev/migration/#for-package-maintainers