responses v0.26.1 Release Notes

Release Date: 2026-05-21 // 21 days ago
    • ➕ Added Spanish translation of the README (README.es.rst)
    • 🤡 When both content_type and headers['content-type'] are in a response mock file,
      content_type is now used.
    • Added strict_match to urlencoded_params_matcher, enabling partial request parameter
      matching.

Previous changes from v0.26.0

    • When using assert_all_requests_are_fired=True, assertions about
      👻 unfired requests are now raised even when an exception occurs in the context manager or
      decorated function. Previously, these assertions were suppressed when exceptions occurred.
      🤡 This new behavior provides valuable debugging context about which mocked requests were
      or weren't called.
    • Consider the Retry-After header when handling retries