Fixes #32230 (#32302)
authorBrian Walker <daddyman@users.noreply.github.com>
Mon, 24 Feb 2020 18:28:05 +0000 (12:28 -0600)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2020 18:28:05 +0000 (10:28 -0800)
commit67e9a10f919aa473d4685ddeb3cd7fc621191eb6
tree2f3c336fc409fe755cf077cc566ee045ccb86799
parentb93b498d60365a36bd99432caeb3610e5f771ba5
Fixes #32230 (#32302)

Use insecure proxy (http_proxy) for schemes http and ws
Use secure proxy (https_proxy) to schemes https and wss
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpEnvironmentProxy.cs
src/libraries/System.Net.Http/tests/UnitTests/HttpEnvironmentProxyTest.cs