Description
Context
What are you trying to do?
Authenticate with proxies that have digest auth. The current implementation closes the connection when it receives a 407 response code.
https://github.com/urllib3/urllib3/blob/7783dbd/src/urllib3/connection.py#L261
Any fix would need to keep the connection open and respond to the challenge, if a response is possible (e.g. if a username and password is available).
How do you expect to do it?
I can familiarize myself with the codebase and come up with a plan to implement digest authorization with test suite, but I want to know it's a desirable feature before doing so.
Is it something you currently cannot do?
Yes
Is this related to an existing issue/problem?
No
Alternatives
Can you achieve the same result doing it in an alternative way?
Without dropping a connection and reconnecting, no, but that's inefficient and isn't supported by all proxies.
Duplicate
It has not, though it's somewhat related to #242
Contribution
Would you be willing to submit a PR? Yes, I'm happy to do so.