httpx
A Python HTTP client library that supports both synchronous and asynchronous requests and is commonly used for sending API requests.
Timeline (last 90 days)
certifi is a standalone package in the Python ecosystem that bundles the Mozilla CA bundle, and libraries such as httpx and requests use it by default for TLS validation rather than the operating system certificate store.
On the Python side, mcp-server-fetch uses httpx and relies on the certifi package for HTTPS validation; installing from PyPI resolves to the current version of certifi; in this release, the Dockerfile in the repository advanced the lock file to certifi 2026.10.23.
httpx package version 0.28.1 does not support proxies, which causes the API to fail to return correct JSON when LangChain-Chatchat starts, and it needs to be downgraded to version 0.27.2.
Switching the HTTP client in a core library changes error types, default timeout behaviour and TLS configuration, and dependents that wrote code against the old client may break.
The underlying HTTP client of the Anthropic Python SDK 1.0 switched from httpx to httpx2.
The introduction of httpx2 replaced the original network request layer, with the official reason given being better async support and connection management.
If other libraries in the project pin an older version of httpx, upgrading the Anthropic SDK may cause dependency resolution failures, and this needs to be verified separately in a virtual environment.
During migration, it is recommended to update the package to version 1.0 via `pip install --upgrade anthropic`, and to search for all `import httpx` call sites and change them to use the corresponding httpx2 interfaces.
The default timeout behavior and retry policy of httpx2 may differ from the older version of httpx, so after upgrading you should explicitly check whether the timeout parameter set when constructing the client still takes effect.
httpx's ASGITransport hands requests directly to the ASGI application object for processing without going through a real network port, while preserving the middleware, dependency injection, and exception handling chain.
7 more timeline events
All Facts (17)
certifi is a standalone package in the Python ecosystem that bundles the Mozilla CA bundle, and libraries such as httpx and requests use it by default for TLS validation rather than the operating system certificate store.
50%UnverifiedOn the Python side, mcp-server-fetch uses httpx and relies on the certifi package for HTTPS validation; installing from PyPI resolves to the current version of certifi; in this release, the Dockerfile in the repository advanced the lock file to certifi 2026.10.23.
50%Unverifiedhttpx package version 0.28.1 does not support proxies, which causes the API to fail to return correct JSON when LangChain-Chatchat starts, and it needs to be downgraded to version 0.27.2.
50%UnverifiedSwitching the HTTP client in a core library changes error types, default timeout behaviour and TLS configuration, and dependents that wrote code against the old client may break.
50%UnverifiedThe underlying HTTP client of the Anthropic Python SDK 1.0 switched from httpx to httpx2.
50%UnverifiedThe introduction of httpx2 replaced the original network request layer, with the official reason given being better async support and connection management.
50%UnverifiedIf other libraries in the project pin an older version of httpx, upgrading the Anthropic SDK may cause dependency resolution failures, and this needs to be verified separately in a virtual environment.
50%UnverifiedDuring migration, it is recommended to update the package to version 1.0 via `pip install --upgrade anthropic`, and to search for all `import httpx` call sites and change them to use the corresponding httpx2 interfaces.
50%UnverifiedThe default timeout behavior and retry policy of httpx2 may differ from the older version of httpx, so after upgrading you should explicitly check whether the timeout parameter set when constructing the client still takes effect.
50%Unverifiedhttpx's ASGITransport hands requests directly to the ASGI application object for processing without going through a real network port, while preserving the middleware, dependency injection, and exception handling chain.
50%UnverifiedA Sentry trace waterfall exposed a bug: during a certain historical question search, one NECTA server took 3.6 minutes to send out a PDF. The code had a 12-second timeout, but httpx times by data chunk, so a slow-drip server can never trigger it. The fix is to set a hard deadline for the entire download, reducing the worst case from about 4 minutes to about 30 seconds.
50%UnverifiedWhen using Jnvoy, developers only need to replace the request URL and change the original Anthropic SDK call to an httpx.post request, adding a provider field to the request body to specify the upstream model provider, with no need to change business logic.
50%UnverifiedThe solution requires two layers of timeouts: httpx request-level timeouts (connect/read/write/pool) handle proactive failure within a time limit for individual requests, while an asyncio.wait_for global deadline handles overall exit and synthesizes a report based on the data already collected.
50%Unverifiedv1.4.0 throws a clear error message when a user incorrectly passes an httpx object instead of the expected httpx2 object.
50%UnverifiedDirectly calling the synchronous HTTP library requests (instead of httpx or aiohttp) within a Python asyncio coroutine is a common blocking pitfall.
50%Unverifiedhttpx is a modern HTTP client in the Python ecosystem that supports both synchronous and asynchronous operations, designed as a counterpart to the requests library with native async/await support.
50%Unverifiedhttpx2 is led by the Pydantic team and is a refactored and upgraded version of the httpx library.
50%