* [browser][http] Fix HttpClientHandler "Supports*" properties regressions
* Also needs implementing on SocketsHttpHandler.
On the SocketsHttpHandler we will default to `true` here.
```
internal bool SupportsAutomaticDecompression => true;
internal bool SupportsProxy => true;
internal bool SupportsRedirectConfiguration => true;
```
* Should be internal accessor
set => throw new PlatformNotSupportedException();
}
+ public bool SupportsAutomaticDecompression => false;
+ public bool SupportsProxy => false;
+ public bool SupportsRedirectConfiguration => false;
+
private Dictionary<string, object?>? _properties;
public IDictionary<string, object?> Properties => _properties ??= new Dictionary<string, object?>();
base.Dispose(disposing);
}
- public virtual bool SupportsAutomaticDecompression => true;
- public virtual bool SupportsProxy => true;
- public virtual bool SupportsRedirectConfiguration => true;
+ public virtual bool SupportsAutomaticDecompression => _underlyingHandler.SupportsAutomaticDecompression;
+ public virtual bool SupportsProxy => _underlyingHandler.SupportsProxy;
+ public virtual bool SupportsRedirectConfiguration => _underlyingHandler.SupportsRedirectConfiguration;
public bool UseCookies
{
}
}
+ internal bool SupportsAutomaticDecompression => true;
+ internal bool SupportsProxy => true;
+ internal bool SupportsRedirectConfiguration => true;
+
public IDictionary<string, object?> Properties =>
_settings._properties ?? (_settings._properties = new Dictionary<string, object?>());