I’ve started drawing up the release notes for 3.12. It’s likely that we’ll issue a release within the next two weeks, since there’s plenty of new functionality that’s waiting for release right now.
Our latest HTTPX releases include a number of refinements and bugfixes, as well as some new functionality:
User-Agent
are now set on client.headers
, rather than constructed directly on the request instance,
making it easier to remove or override them from all client requests.auth=...
set, we now support disabling auth on a per-request basis.We’ve also made significant progress on a number of more major features, such as:
Client(retries=<int>)
.Request
or Response
instances to be used in wider contexts, such as for unit testing auth classes…
Host: ...
when requests are instantiated directly.response = httpx.Response(content=..., text=..., html=..., json=...)
Thanks as ever to all our sponsors, contributors, and users,
— Tom Christie, 3rd August, 2020.