urllib3 2.0 series

A big refactor to move urllib3 to version 2. Upcoming changes:
* Remove the dependency on httplib, enabling us to bring new features and improvements to all supported Python versions equally
* Invalid HTTP responses now trigger hard failures, rather than getting a best-effort interpretation. This additional strictness reduces the risk that responses will be misinterpreted.
* Remove the length_remaining property on responses. urllib3 now strictly checks the length of responses and hard fails in all cases if the response is either too long or the remote peer closes the connection before the body is complete.
* Remove the read_chunked method on responses
* Remove the behaviour that HTTPResponse.stream had where it would always return on chunked bodies. These boundaries are not semantic, so it is not useful to persist them up to the user.
* Remove BodyNotHttplibCompatible and ResponseNotChunked exceptions
* Drop support for Python 2.6

Series information

Project:
urllib3
Series:
2.0
Project drivers:
Andrey Petrov, Quentin Pradet
Release manager:
Quentin Pradet
Status:
Experimental
Project development focus:
is the focus of development.
Release URL pattern:
None

Download RDF metadata

Code for this series

No revision control details recorded for urllib3 2.0 series.

Milestones and releases

All packages Distribution packaging

This series is packaged in the following distribution series:

This series contains Public information
Everyone can see this information.

Downloads

2.0 does not have any download files.

Get Involved