Skip to content

iOS/tvOS/MacCatalyst: some HttpClientHandler properties behave differently now #55986

@rolfbjarne

Description

@rolfbjarne

Description

I'm not sure if this is a bug or expected behavior now, but I'm filing this issue to track whatever it is.

This happens on iOS, tvOS or Mac Catalyst (not macOS).

  1. The three Supports* properties all return false now, they used to return true. The corresponding supported properties throw PlatformNotSupportedException (which I guess is understandable if they're not supported).
  2. Setting ServerCertificateValidationCallback throws a PNSE. This used to work.
  3. CookieContainer returns null.

Regression?

Yes, it happened sometime between 6.0.100-preview.7.21330.1 and 6.0.100-rc.1.21369.3 (it's also a breaking change from legacy Xamarin).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions