Requests

Latest version: v2.31.0

Safety actively analyzes 623909 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 26

2.19.0

Not secure
-------------------

**Improvements**

- Warn user about possible slowdown when using cryptography version
< 1.3.4
- Check for invalid host in proxy URL, before forwarding request to
adapter.
- Fragments are now properly maintained across redirects. (RFC7231
7.1.2)
- Removed use of cgi module to expedite library load time.
- Added support for SHA-256 and SHA-512 digest auth algorithms.
- Minor performance improvement to `Request.content`.
- Migrate to using collections.abc for 3.7 compatibility.

**Bugfixes**

- Parsing empty `Link` headers with `parse_header_links()` no longer
return one bogus entry.
- Fixed issue where loading the default certificate bundle from a zip
archive would raise an `IOError`.
- Fixed issue with unexpected `ImportError` on windows system which do
not support `winreg` module.
- DNS resolution in proxy bypass no longer includes the username and
password in the request. This also fixes the issue of DNS queries
failing on macOS.
- Properly normalize adapter prefixes for url comparison.
- Passing `None` as a file pointer to the `files` param no longer
raises an exception.
- Calling `copy` on a `RequestsCookieJar` will now preserve the cookie
policy correctly.

**Dependencies**

- We now support idna v2.7.
- We now support urllib3 v1.23.

2.18.4

Not secure
-------------------

**Improvements**

- Error messages for invalid headers now include the header name for
easier debugging

**Dependencies**

- We now support idna v2.6.

2.18.3

Not secure
-------------------

**Improvements**

- Running `$ python -m requests.help` now includes the installed
version of idna.

**Bugfixes**

- Fixed issue where Requests would raise `ConnectionError` instead of
`SSLError` when encountering SSL problems when using urllib3 v1.22.

2.18.2

Not secure
-------------------

**Bugfixes**

- `requests.help` no longer fails on Python 2.6 due to the absence of
`ssl.OPENSSL_VERSION_NUMBER`.

**Dependencies**

- We now support urllib3 v1.22.

2.18.1

Not secure
-------------------

**Bugfixes**

- Fix an error in the packaging whereby the `*.whl` contained
incorrect data that regressed the fix in v2.17.3.

2.18.0

Not secure
-------------------

**Improvements**

- `Response` is now a context manager, so can be used directly in a
`with` statement without first having to be wrapped by
`contextlib.closing()`.

**Bugfixes**

- Resolve installation failure if multiprocessing is not available
- Resolve tests crash if multiprocessing is not able to determine the
number of CPU cores
- Resolve error swallowing in utils set\_environ generator

Page 4 of 26

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.