<PackageReference Include="Microsoft.Net.Http" Version="2.2.15" />

System.Net.Http.HttpClientHandlerExtensions

public static class HttpClientHandlerExtensions
Extension methods for HttpClientHandler which expose differences in platform specific capabilities.
public static bool SupportsAllowAutoRedirect(this HttpClientHandler handler)

Gets a value that indicates if AllowAutoRedirectHttpClientHandler.AllowAutoRedirect is supported by the handler. When this property is true and SupportsRedirectConfigurationHttpClientHandler.SupportsRedirectConfiguration is false, setting AllowAutoRedirectHttpClientHandler.AllowAutoRedirect to true will cause the system default to be used for MaximumAutomaticRedirectionsHttpClientHandler.MaximumAutomaticRedirections.

public static bool SupportsPreAuthenticate(this HttpClientHandler handler)

Gets a value that indicates if PreAuthenticate is supported by the handler.

public static bool SupportsProtocolVersion(this HttpClientHandler handler)

Gets a value that indicates if ProtocolVersion, ProtocolVersionHttpRequestMessage.ProtocolVersion, and ProtocolVersionHttpResponseMessage.ProtocolVersion are supported by the handler.

public static bool SupportsTransferEncodingChunked(this HttpClientHandler handler)

Gets a value that indicates if HeadersHttpRequestMessage.Headers with TransferEncodingChunked or TransferEncoding header value of 'chunked' is supported by the handler.

public static bool SupportsUseProxy(this HttpClientHandler handler)

Gets a value that indicates if UseProxy is supported by the handler. When this property is true and SupportsProxyHttpClientHandler.SupportsProxy is false, setting UseProxyHttpClientHandler.UseProxy to true will cause the system default to be used for ProxyHttpClientHandler.Proxy.