Skip to content

docs: say that verify, proxies and timeout do not apply to a custom http_client - #961

Open
Max Azatian (HardMax71) wants to merge 1 commit into
AzureAD:devfrom
HardMax71:docs/http-client-timeout-note
Open

docs: say that verify, proxies and timeout do not apply to a custom http_client#961
Max Azatian (HardMax71) wants to merge 1 commit into
AzureAD:devfrom
HardMax71:docs/http-client-timeout-note

Conversation

@HardMax71

Copy link
Copy Markdown

Fixes #960

Docs only. Adds one sentence to the http_client paragraph of ClientApplication.__init__: the verify, proxies and timeout parameters configure only the default session, so a custom http_client has to carry them itself. Each of the three parameters already says so on its own entry; this makes it visible from the http_client entry too, which is the one a reader looks at when deciding whether to pass a client.

No behaviour change. import msal and the built docstring checked locally.

…ttp_client

Each of the three parameters already carries that note; the http_client
paragraph itself did not, so a reader of it could miss it.
@HardMax71
Max Azatian (HardMax71) requested a review from a team as a code owner September 10, 2026 18:36
Copilot AI lite review requested due to automatic review settings September 10, 2026 18:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

http_client docstring does not say that timeout, verify and proxies only configure the default session

2 participants