http-client
The tracked changes tagged http-client, newest release first. Every sentence is an item's summary.
Goes with
Changes
Google GenAI Python SDK v3.0.0
-
The default HTTP client changed from httpx to httpx2, httpx is no longer installed by default, and httpx2 uses the OS certificate trust store by default when SSL_CERT_FILE and SSL_CERT_DIR are not set; restoring httpx requires installing google-genai[httpx] and setting GOOGLE_GENAI_HTTP_CLIENT=httpx, and httpx objects passed in HttpOptions must match the active client type.
-
The default HTTP client switched to httpx2 and uses the OS trust store by default.
MCP Python SDK v1.30.0
-
streamable_http_client and sse_client now follow redirects only within the same scheme, host and port (or http-to-https upgrade on the same host); other redirects fail with httpx.HTTPStatusError.
-
The follow_redirects setting on a user-supplied httpx.AsyncClient is no longer used for MCP requests.