Closed
Description
Specifically, it looks like the stubs for requests
date back to a time when urllib3
was vendored with requests. These days, it looks like requests doesn't vendor it anymore and instead uses urllib3
from pypi.
I think that urllib3
should become it's own top-level stubs (not part of requests
) and some of the requests stubs should probably be revisited. In order to limit scope, the particular stubs that I've been fighting with in requests.adapters
-- BaseAdaptor.send
doesn't accept proxies
(even though it should), HTTPAdaptor.send
has virtually no type annotations when BaseAdaptor.send
does -- I think they should be basically the same...
What do you think?