pypi urllib3 2.0.0a2

latest releases: 2.2.3, 1.26.20, 1.26.19...
24 months ago

Read the v2.0 migration guide for help upgrading to the latest version of urllib3.

  • Changed HTTPResponse.read() to raise an error when calling with decode_content=False after using decode_content=True to prevent data loss (#2800).
  • Changed HTTPResponse.getheaders() and .getheader() to previous behavior in 1.26.x. Instead we are deprecating these methods in favor of HTTPResponse.headers.items() and HTTPResponse.headers.get(). Both deprecated methods will be removed in v2.1.0 (#2814)
  • Fixed an issue where parsing a URL with leading zeroes in the port would be rejected even when the port number after removing the zeroes was valid. (#2806)
  • Fixed deprecation warning when using cryptography v39.0.0. This fix requires using pyOpenSSL>=17.1.0 and cryptography>=1.9. (#2829)

Don't miss a new urllib3 release

NewReleases is sending notifications on new releases.