Responses

Latest version: v0.25.6

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

Scan your dependencies

Page 1 of 10

0.25.5

------

* Fix readme issue that prevented 0.25.4 from being published to pypi.

0.25.4

------

* Responses can now match requests that use `data` with file-like objects.
Files will be read as bytes and stored in the request mock. See 736
* `RequestsMock.matchers` was added. This property is an alias to `responses.matchers`. See 739
* Removed tests from packaged wheels. See 746
* Improved recorder API to ease use in REPL environments. See 745

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

Page 1 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.