0.18.0
What's Changed
- feat: forward every httpx2 client option to the owned client by @lesnik512 in #148
Behaviour change
AsyncClient/Client now raise ValueError when max_response_body_bytes is set and the client follows redirects. This applies both to follow_redirects=True and to a caller-provided httpx2_client built with follow_redirects=True, which was accepted before. httpx2 reads intermediate redirect bodies without the cap, so the cap did not protect that path. Either drop follow_redirects or drop the cap.
Full Changelog: 0.17.2...0.18.0