mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
565 B
565 B
0.5.1
Improvements
- Fixed flakiness of test suite introduced in the 0.4 versions;
- compression plugin:
- do not send
accept-encoding
header whenrange
is present; - Remove from
content-encoding
if body stream decodes it; - Added
HTTPX::Response::Body#encodings
to return the decoded encoding(s);
- do not send
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
GET
s and other bodyless requests before);