Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Move utility functions from requests.utils to requests-toolbelt #2266
requests is an HTTP library, not an HTML library. Some of these utility functions are far more focused on HTML and a Response's body than on HTTP. With that said, they don't belong in requests proper. Instead they belong in a third-party library and currently the best place for that is requests-toolbelt.
Path to removal
Prior to releasing 3.0, remove the following functions and migrate them to requests-toolbelt. Allow requests-toolbelt to release a version first and then release 3.0.