Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Digest authentication for HTTP(S) proxy #5987

Open
link2xt opened this issue Sep 20, 2024 · 0 comments
Open

Support Digest authentication for HTTP(S) proxy #5987

link2xt opened this issue Sep 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@link2xt
Copy link
Collaborator

link2xt commented Sep 20, 2024

Currently we just send login and password using Basic authentication type in the Proxy-Authorization header.

Instead of assuming Basic, we should try to CONNECT without Proxy-Authorization and get "407 Proxy Authentication Required" error telling which authentication method should be used:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407
It should contain Proxy-Authorization header which says the method that should be used:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization

After that we should resubmit the CONNECT request with Proxy-Authorization.

@link2xt link2xt added the enhancement New feature or request label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant