Skip to content

fix(async): don't pass proxy=None to httpx.AsyncClient (issue #632)#633

Merged
tobixen merged 1 commit intomasterfrom
issue-632
Mar 7, 2026
Merged

fix(async): don't pass proxy=None to httpx.AsyncClient (issue #632)#633
tobixen merged 1 commit intomasterfrom
issue-632

Conversation

@tobixen
Copy link
Member

@tobixen tobixen commented Mar 3, 2026

httpx < 0.23.0 has no 'proxy' parameter at all, so passing proxy=None
unconditionally broke AsyncDAVClient initialization even when no proxy
was configured. Now the proxy kwarg is only forwarded to
httpx.AsyncClient when a proxy is actually set.

Fixes #632

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

httpx < 0.23.0 has no 'proxy' parameter at all, so passing proxy=None
unconditionally broke AsyncDAVClient initialization even when no proxy
was configured.  Now the proxy kwarg is only forwarded to
httpx.AsyncClient when a proxy is actually set.

Fixes #632

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tobixen tobixen merged commit 67c9d9f into master Mar 7, 2026
9 checks passed
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.

Async client fails to initialize

1 participant