8000 Support proxy digest authorization · Issue #3488 · urllib3/urllib3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support proxy digest authorization #3488
Open
@sameer-here

Description

@sameer-here

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0