Responses

Latest version: v0.25.0

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

Scan your dependencies

Page 1 of 8

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

0.23.3

* Allow urllib3>=1.25.10

0.23.2

> This release is the last to support Python 3.7

* Updated dependency to urllib3>=2 and requests>=2.30.0. See 635
* Fixed issue when custom adapters were sending only positional args. See 642
* Expose `unbound_on_send` method in `RequestsMock` class. This method returns new function
that is called by `RequestsMock` instead of original `send` method defined by any adapter.

0.23.1

* Remove `tomli` import. See 630

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.