audit: sweep HTTP Clients, promote httpx2 over httpx

httpx held an obvious-choice slot with no stable release since 0.28.1 and its maintainer closed issues and discussions, while httpx2, Pydantic's same-API continuation, sat last despite openai, anthropic, huggingface-hub, mcp and langsmith now requiring it.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-10-02 12:39:00 +08:00
co-authored by Claude
parent c460044aa3
commit 1c1994251d
+2 -2
View File
@@ -378,10 +378,10 @@ _Libraries for working with HTTP._
- Clients
- [requests](https://github.com/psf/requests) - HTTP Requests for Humans.
- [httpx](https://github.com/encode/httpx) - A next generation HTTP client for Python.
- [aiohttp](https://github.com/aio-libs/aiohttp) - Asynchronous HTTP client/server framework for asyncio and Python.
- [urllib3](https://github.com/urllib3/urllib3) - An HTTP library with thread-safe connection pooling, file post, and more.
- [httpx2](https://github.com/pydantic/httpx2) - HTTP/1.1 and HTTP/2 client with sync and async APIs, maintained by Pydantic ([httpx](https://github.com/encode/httpx) fork).
- [urllib3](https://github.com/urllib3/urllib3) - An HTTP library with thread-safe connection pooling, file post, and more.
- [httpx](https://github.com/encode/httpx) - A next generation HTTP client for Python.
- URL Manipulation
- [yarl](https://github.com/aio-libs/yarl) - Yet another URL library.