- if (HttpHeaders.GetKnownHeaderKind (key) == Headers.HttpHeaderKind.Content) {
+ if (HeaderDescriptor.TryGet (key, out var descriptor) && descriptor.HeaderType == HttpHeaderType.Content) {
Side note
The Compat check is expected to fail in this PR because it is using the High Sierra instead of the Catalina agents once merged.
Update Binary Compatibility Check to reflect the changes in Xamarin.Mac due to the import of
HttpClient
implementation from CoreFX https://github.com/xamarin/xamarin-macios/commit/5d4ada34c798ca6d84023b42f2bb7e5dfa77dede#diff-450d8ab830620cd9e57f8be5c8f2c625L361-R361Side note
The Compat check is expected to fail in this PR because it is using the
High Sierra
instead of theCatalina
agents once merged.