Requests now treats application/json as utf8 by default. Resolving
inconsistencies between r.text and r.json output. (#5673)
Dependencies
Requests now supports chardet v4.x.
2.25.0 (2020-11-11)
Improvements
Added support for NETRC environment variable. (#5643)
Dependencies
Requests now supports urllib3 v1.26.
Deprecations
Requests v2.25.x will be the last release series with support for Python 3.5.
The requests[security] extra is officially deprecated and will be removed
in Requests v2.26.0.
2.24.0 (2020-06-17)
Improvements
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)
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)
Updates the requirements on requests to permit the latest version.
Changelog
Sourced from requests's changelog.
... (truncated)
Commits
c2b307d
v2.25.16de4f10
Change docs title to requests.sessionsb223291
Merge pull request #5688 from dan-blanchard/patch-1516f84f
Upgrade to chardet 4.xd3e0f73
Update sponsorship link5035827
Merge pull request #5670 from smarie/pr_proxy_conf_helper_and_doc589c454
Merge pull request #5673 from jjmaldonis/master5855dd7
updatedget_encoding_from_headers
to return utf-8 if the content type is se...d0359c9
Fix broken linkf02a80c
Updated proxies documentationDependabot 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)