…ytearray in the files argument. 30-40% performance improvement.
… input, not float.
…gument to Request.
…n addition to the currently supported bytes and str input.
When working these changes back upstream to pip, we realized that the previous fix wasn't ideal since unvendoring the packages broke the imports. For example, if urllib3 were unvendored, then the following would fail: from requests.packages import urllib3
While discussion the issue, Donald Stufft (@dstufft) and I realized the simplest solution is to simply add an alias per vendored dependency. The resulting changes are simple and effective. It prevents the issue in 2.5.2 and 2.5.3 where the following would work: from requests.packages import webbrowser This now appropriately raises an ImportError. Closes #2465
…nown url" test URL since fooobarbangbazbing.httpbin.org currently gives a valid response.