Respx

Latest version: v0.21.1

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

Scan your dependencies

Page 5 of 8

0.12.0

Changed

- Dropped no longer needed `asynctest` dependency, in favour of built-in mock. (PR 69)

0.11.3

Fixed

- Fixed support for `HTTPX` 0.14.0. (PR 45)

0.11.2

Added

- Added support for pop'ing a request pattern by alias, thanks radeklat. (PR 60)

0.11.1

Fixed

- Fixed mocking `HTTPX` clients instantiated with proxies. (PR 58)
- Fixed matching URL patterns with missing path. (PR 59)

0.11.0

Fixed

- Fixed support for `HTTPX` 0.13. (PR 57)

Added

- Added support for mocking out `HTTP Core`.
- Added support for using mock transports with `HTTPX` clients without patching.
- Include LICENSE.md in source distribution, thanks synapticarbors.

Changed

- Renamed passed mock to decorated functions from `httpx_mock` to `respx_mock`.
- Renamed `HTTPXMock` to `MockTransport`, but kept a deprecated `HTTPXMock` subclass.
- Deprecated `respx.request()` in favour of `respx.add()`.

0.10.1

Fixed

- Fixed support for `HTTPX` 0.12.0. (PR 45)

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.