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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on responses to permit the latest version.
Release notes
Sourced from responses's releases.
Changelog
Sourced from responses's changelog.
... (truncated)
Commits
fe0d807
release: 0.24.12d6d039
Fix socket issues (#693)939562f
Added typing in tests (#694)c46cb06
Fix/calllist typing (#690)a0df27d
Merge branch 'release/0.24.0'5579f8e
release: 0.24.09d38e6e
Fix heading underline for RSTbcad0cd
Calls info in BaseResponse (#664)5c6a3b1
fixed mypy compatibility for py3.8 (#686)87db9df
updated_form_response
function with more native handling by utilizing the ...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show