diff --git a/src/RestSharp/RestClient.cs b/src/RestSharp/RestClient.cs index 4df35a896..10479fdec 100644 --- a/src/RestSharp/RestClient.cs +++ b/src/RestSharp/RestClient.cs @@ -139,7 +139,11 @@ void ConfigureHttpMessageHandler(HttpClientHandler handler) { handler.AutomaticDecompression = Options.AutomaticDecompression; handler.PreAuthenticate = Options.PreAuthenticate; handler.AllowAutoRedirect = Options.FollowRedirects; - handler.Proxy = Options.Proxy; + + if (handler.SupportsProxy) + { + handler.Proxy = Options.Proxy; + } if (Options.RemoteCertificateValidationCallback != null) handler.ServerCertificateCustomValidationCallback =