cuddly-jelly-27016
06/19/2025, 1:49 AM## 2.2.2
## 🚀 urllib3 is fundraising for HTTP/2 support
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support for 2023. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
## Changes
• Added theheader to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set viaProxy-Authorization.Retry.remove_headers_on_redirect
• Allowed passing negative integers asto read methods ofamtas an alternative tohttp.client.HTTPResponse. (#3122)None
• Fixed return types representing copying actions to use. (#3363)typing.Self
Full Changelog: urllib3/urllib3@2.2.1...2.2.2
## 2.2.1
## 🚀 urllib3 is fundraising for HTTP/2 support
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support for 2023. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
## Changes
• Fixed issue wherewas emitted for HTTPS connections when using Emscripten. (#3331)InsecureRequestWarning
• Fixedto stop automatically casting non-proxy headers toHTTPConnectionPool.urlopen. This change was premature as it did not apply to proxy headers andHTTPHeaderDictdoes not handle byte header values correctly yet. (#3343)HTTPHeaderDict
• ChangedtoProtocolErrorwhen response terminates before the chunk length is sent. (#2860)InvalidChunkLength
• Changedto be more verbose on incomplete reads with excess content. (#3261)ProtocolError
## 2.2.0
## 🖥️ urllib3 now works in the browser
🎉 This release adds experimental support for using urllib3 in the browser with Pyodide! 🎉
Thanks to Joe Marshall () for contributing this feature. This change was possible thanks to work done in urllib3 v2.0 to detach our API from@joemarshall. Please report all bugs to the urllib3 issue tracker.http.client
## 🚀 urllib3 is fundraising for HTTP/2 support
urllib3 is raising ~$40,000 USD to release HTTP/2 support and ensure long-term sustainable maintenance of the project after a sharp decline in financial support for 2023. If your company or organization uses Python and would benefit from HTTP/2 support in Requests, pip, cloud SDKs, and thousands of other projects please consider contributing financially to ensure HTTP/2 support is developed sustainably and maintained for the long-haul.
Thank you for your support.
## Changes
• Added support for Emscripten and Pyodide, including streaming support in cross-origin isolated browser environments where threading is enabled. (#2951)
• Added support formethod. (#3186)HTTPResponse.read1()
• Added rudimentary support for HTTP/2. (#3284)
• Fixed issue where requests against urls with trailing dots were failing due to SSL errors when using proxy. (#2244)
• Fixed... (truncated) Changelog Sourced from urllib3's changelog.andHTTPConnection.proxy_is_verifiedto be always set to a boolean after connecting to a proxy. It could beHTTPSConnection.proxy_is_verifiedin some cases previously. (#3130)None
# 2.2.2 (2024-06-17)
• Added theheader to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set viaProxy-Authorization.Retry.remove_headers_on_redirect
• Allowed passing negative integers asto read methods ofamtas an alternative tohttp.client.HTTPResponse. (`[#3122](https://github.com/urllib3/urllib3/issues/3122) https://github.com/urllib3/urllib3/issues/3122`__)None
• Fixed return types representing copying actions to use. (`[#3363](https://github.com/urllib3/urllib3/issues/3363) https://github.com/urllib3/urllib3/issues/3363`__)typing.Self
# 2.2.1 (2024-02-16)
• Fixed issue wherewas emitted for HTTPS connections when using Emscripten. (`[#3331](https://github.com/urllib3/urllib3/issues/3331) https://github.com/urllib3/urllib3/issues/3331`__)InsecureRequestWarning
• Fixedto stop automatically casting non-proxy headers toHTTPConnectionPool.urlopen. This change was premature as it did not apply to proxy headers andHTTPHeaderDictdoes not handle byte header values correctly yet. (`[#3343](https://github.com/urllib3/urllib3/issues/3343) https://github.com/urllib3/urllib3/issues/3343`__)HTTPHeaderDict
• ChangedtoInvalidChunkLengthwhen response terminates before the chunk length is sent. (`[#2860](https://github.com/urllib3/urllib3/issues/2860) https://github.com/urllib3/urllib3/issues/2860`__)ProtocolError
• Changedto be more verbose on incomplete reads with excess content. (`[#3261](https://github.com/urllib3/urllib3/issues/3261) https://github.com/urllib3/urllib3/issues/3261`__)ProtocolError
# 2.2.0 (2024-01-30)
• Added support for `Emscripten and Pyodide https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html`*, including streaming support in cross-origin isolated browser environments where threading is enabled. (`[#2951](https://github.com/urllib3/urllib3/issues/2951) https://github.com/urllib3/urllib3/issues/2951`*)
• Added support formethod. (`[#3186](https://github.com/urllib3/urllib3/issues/3186) https://github.com/urllib3/urllib3/issues/3186`__)HTTPResponse.read1()
• Added rudimentary support for HTTP/2. (`[#3284](https://github.com/urllib3/urllib3/issues/3284) https://github.com/urllib3/urllib3/issues/3284`__)
• Fixed issue where requests against urls with trailing dots were failing due to SSL errors when using proxy. (`[#2244](<https://github.com/url…flyteorg/flytekit
cuddly-jelly-27016
06/19/2025, 1:49 AM