Skip to content

Conversation

@jelmer
Copy link
Owner

@jelmer jelmer commented Jul 3, 2025

Implement callback-based authentication for HTTP and proxy authentication in Urllib3HttpGitClient. This provides a cleaner alternative to exception interception for handling authentication challenges.

The implementation wraps the urllib3 pool manager with AuthCallbackPoolManager which intercepts 401/407 responses and invokes the appropriate callbacks.

Fixes #822

Implement callback-based authentication for HTTP and proxy authentication
in Urllib3HttpGitClient. This provides a cleaner alternative to exception
interception for handling authentication challenges.

The implementation wraps the urllib3 pool manager with AuthCallbackPoolManager
which intercepts 401/407 responses and invokes the appropriate callbacks.

Fixes #822
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support callback-based authentication for HTTP and HTTP proxies

2 participants