pyOpenSSL TLS implementation is now only used if Python
either doesn't have an ssl module or doesn't support
SNI. Previously pyOpenSSL was unconditionally used if available.
This applies even if pyOpenSSL is installed via the
requests[security] extra (#5443)
Redirect resolution should now only occur when
allow_redirects is True. (#5492)
No longer perform unnecessary Content-Length calculation for
requests that won't use it. (#5496)
2.23.0 (2020-02-19)
Improvements
Remove defunct reference to prefetch in Session __attrs__ (#5110)
Bugfixes
Requests no longer outputs password in basic auth usage warning. (#5099)
Dependencies
Pinning for chardet and idna now uses major version instead of minor.
This hopefully reduces the need for releases everytime a dependency is updated.
2.22.0 (2019-05-15)
Dependencies
Requests now supports urllib3 v1.25.2.
(note: 1.25.0 and 1.25.1 are incompatible)
Deprecations
Requests has officially stopped support for Python 3.4.
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 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)
⚠️ Dependabot is rebasing this PR ⚠️
If you make any changes to it yourself then they will take precedence over the rebase.
Updates the requirements on requests to permit the latest version.
Changelog
Sourced from requests's changelog.
Commits
0797c61
v2.24.0daa2b29
updating usage information7c71982
Merge pull request #5496 from dbaxa/optimise-prepare-body71a05cf
Avoid an unnecessary computation of the length of data for non-stream request...737dd0c
Update number of dependents on requests (#5495)8ac5929
Fix typo in README (#5468)2b3436e
Merge pull request #5492 from dbaxa/avoid-calling-resolve_redirects-whe-not-f...fa2dbe9
Remove what appears to be an un-needed call to self.resolve_redirects when no...9ed5db8
fix raise_for_status docstring (#5293)427e8eb
Fix test_conflicting_post_params to work on pytest 5 (#5305)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 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)