
A next generation HTTP client for Python. 🦋
Repo encode/httpx, read from GitHub 11 h ago. encode has not joined Take My Repo.
verify=False together with client side certificates.The 0.28 release includes a limited set of deprecations.
Deprecations:
We are working towards a simplified SSL configuration API.
For users of the standard verify=True or verify=False cases, or verify=<ssl_context> case this should require no changes. The following cases have been deprecated...
verify argument as a string argument is now deprecated and will raise warnings.cert argument is now deprecated and will raise warnings.Our revised SSL documentation covers how to implement the same behaviour with a more constrained API.
The following changes are also included:
proxies argument has now been removed.app argument has now been removed.certifi and httpcore are only imported if required. (#3377)socks5h as a valid proxy scheme. (#3178)Request() method signature in line with client.request() and httpx.request(). (#3378)params={}, always strictly update rather than merge with an existing querystring. (#3364)app=... shortcut has been deprecated. Use the explicit style of transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead.proxy argument was added. You should use the proxy argument instead of the deprecated proxies, or use mounts= for more complex configurations. (#2879)proxies argument is now deprecated. It will still continue to work, but it will be removed in the future. (#2879)NO_PROXY envvar cases when a fully qualified URL is supplied as the value. (#2741)raw_path does not include URL query component. (#2999)Response.iter_text() cannot yield empty strings. (#2998)