Skip to content

Conversation

@dotMorten
Copy link
Contributor

@dotMorten dotMorten commented Jan 21, 2026

Fixes #21688

This allows the user to detect the specific exception when a certificate is needed and react to it. Exceptions thrown are very similar to what SocketsHttpHandler and other handlers throw, while also following the pattern of other exceptions thrown by NSUrlSessionHandler.

@rolfbjarne rolfbjarne added the community Community contribution ❤ label Jan 21, 2026
@dotMorten dotMorten marked this pull request as ready for review January 21, 2026 23:00
@dotMorten dotMorten marked this pull request as draft January 21, 2026 23:09
@dotMorten dotMorten marked this pull request as ready for review January 22, 2026 05:20
@rolfbjarne rolfbjarne added community Community contribution ❤ and removed community Community contribution ❤ labels Jan 22, 2026
@rolfbjarne
Copy link
Member

Closing in favor of #24544 (which is a copy of this PR), because our CI can't build PRs from forks.

@rolfbjarne rolfbjarne closed this Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Community contribution ❤

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detecting certificate challenge in NSUrlSessionHandler

2 participants