Skip to content

Releases: getsentry/responses

Responses 0.11.0

24 Aug 01:18

Choose a tag to compare

  • Added the match parameter to add().
  • Added responses.urlencoded_params_matcher() and responses.json_params_matcher().

Responses 0.10.16

11 Aug 02:49

Choose a tag to compare

Fixes

  • Add a requirements pin to urllib3. This helps prevent broken install states where
    cookie usage fails.

Responses 0.10.15

12 Jun 02:19

Choose a tag to compare

  • Added assert_call_count to improve ergonomics around ensuring a mock was called.
  • Fix incorrect handling of paths with query strings.
  • Add Python 3.9 support to CI matrix.

Responses 0.10.14

20 Apr 02:26

Choose a tag to compare

  • Version bump to align tags with setup.py

Responses 0.10.13

20 Apr 02:25

Choose a tag to compare

  • Improved README examples.
  • Improved handling of unicode bodies. The inferred content-type for unicode bodies is now text/plain; charset=utf-8.
  • Streamlined querysting matching code.

Responses 0.10.12

03 Mar 02:49

Choose a tag to compare

  • Fixed incorrect content-type in add_callback() when headers are provided as a list of tuples.

Responses 0.10.11

25 Feb 02:58

Choose a tag to compare

  • Fixed invalid README formatted.
  • Fixed string formatting in error message.

Responses 0.10.10

30 Jan 15:52

Choose a tag to compare

  • Added Python 3.8 support
  • Remove Python 3.4 from test suite matrix.
  • The response.request object now has a params attribute that contains the query string parameters from the request that was captured.
  • add_passthru now supports re pattern objects to match URLs.
  • ConnectionErrors raised by responses now include more details on the request that was attempted and the mocks registered.

Responses 0.10.9

20 Dec 01:53

Choose a tag to compare

  • Fixed regression with add_callback() and content-type header.
  • Fixed implicit dependency on urllib3>1.23.0

Responses 0.10.8

12 Dec 16:33

Choose a tag to compare

  • Fixed cookie parsing and enabled multiple cookies to be set by using a list of tuple values.