Httpx

Latest version: v0.27.0

Safety actively analyzes 628918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 13

0.16.0

Not secure
Changed

* Preserve HTTP header casing. (Pull 1338, encode/httpcore216, python-hyper/h11104)
* Drop `response.next()` and `response.anext()` methods in favour of `response.next_request` attribute. (Pull 1339)
* Closed clients now raise a runtime error if attempting to send a request. (Pull 1346)

Added

* Add Python 3.9 to officially supported versions.
* Type annotate `__enter__`/`__exit__`/`__aenter__`/`__aexit__` in a way that supports subclasses of `Client` and `AsyncClient`. (Pull 1336)

0.15.5

Not secure
Added

* Add `response.next_request` (Pull 1334)

0.15.4

Not secure
Added

* Support direct comparisons between `Headers` and dicts or lists of two-tuples. Eg. `assert response.headers == {"Content-Length": 24}` (Pull 1326)

Fixed

* Fix automatic `.read()` when `Response` instances are created with `content=<str>` (Pull 1324)

0.15.3

Not secure
Fixed

* Fixed connection leak in async client due to improper closing of response streams. (Pull 1316)

0.15.2

Not secure
Fixed

* Fixed `response.elapsed` property. (Pull 1313)
* Fixed client authentication interaction with `.stream()`. (Pull 1312)

0.15.1

Not secure
Fixed

* ASGITransport now properly applies URL decoding to the `path` component, as-per the ASGI spec. (Pull 1307)

Page 5 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.