Responses

Latest version: v0.25.3

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

Scan your dependencies

Page 1 of 9

0.25.3

------

* Fixed `recorder` not saving and loading response headers with yaml files. See 715

0.25.2

------

* Mulligan on 0.25.1 to run release pipeline correctly.
* Added `matchers.body_matcher` for matching string request bodies. See 717

0.25.1

------

* Fixed tests failures during RPM package builds. See 706
* Fix mocked HEAD responses that have `Content-Length` set. See 712
* Fixed error messages when matches fail: inputs are not sorted or reformatted. See 704

0.25.0

------

* Added support for Python 3.12
* Fixed `matchers.header_matcher` not failing when a matched header is missing from the request. See 702

0.24.1

------

* Reverted overloads removal
* Added typing to `Call` attributes.
* Fix socket issues (see 693)

0.24.0

------

* Added `BaseResponse.calls` to access calls data of a separate mocked request. See 664
* Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set
through which function they would like to send real requests
* Added support for re.Pattern based header matching.
* Added support for gzipped response bodies to `json_params_matcher`.
* Fix `Content-Type` headers issue when the header was duplicated. See 644
* Moved types-pyyaml dependency to `tests_requires`
* Removed Python3.7 support

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.