Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android][iOS] Enable HttpClientHandler.DangerousAcceptAnyServerCerti…
…ficateValidator when using native handlers (dotnet#73763) The static `HttpClientHandler.DangerousAcceptAnyServerCertificateValidator` getter throws PNSE when the native HTTP handler is enabled because Xamarin.Android's `AndroidMessageHandler` and Xamarin.iOS `NSUrlSessionHandler` didn't use to have support for the `ServerCertificateCustomValidationCallback`. We already implemented the Android part in .NET 6 and support in the iOS implementation is WIP and we should be able to implement it in time for .NET 7. IMO it's safe to remove the exception in the getter in .NET 7. Closes dotnet#68898
- Loading branch information