Repository navigation
❗️Breaking ❗
Switch from httpx to httpx2 in generated clients
httpx2 is largely compatible with httpx and should only be a breaking change for users who customize the internal Client.
Thanks to @s-sajid-ali and @johnthagen for making this one happen in PR #1461 and discussion #1455!
🚀 Features
- Update
uv_buildto 0.13 when using--meta=uv(#1507)
🐛 Fixes
- Let httpx2 choose the multipart/form-data boundary (#1511)
Let httpx2 choose the boundary for multipart/form-data requests
Since 0.29.0, generated endpoints sent every multipart/form-data body with the fixed boundary +++, so an uploaded file containing \r\n--+++ was cut short at that point (#1509). These bodies no longer set Content-Type, so httpx2 sets it with a random boundary for each request, as single-body endpoints did before 0.29.0. Endpoints with several body types still get a boundary (#947).