0_5_1.md

doc/release_notes/0_5_1.md
Last Update: 2024-12-18 13:38:28 +0000

0.5.1

Improvements

  • Fixed flakiness of test suite introduced in the 0.4 versions;

  • compression plugin:

  • do not send accept-encoding header when range is present;

  • Remove from content-encoding if body stream decodes it;

  • Added HTTPX::Response::Body#encodings to return the decoded encoding(s);

Bugfixes

  • non-UTF-8 bodies weren’t being properly handled, which led to a loop report (slice -> byteslice);

  • connection reuse now also happens for requests with body (it was only working with GETs and other bodyless requests before);