So I have a fairly loaded env variable for _JAVA_OPTIONS

export _JAVA_OPTIONS="-Dhttp.proxyHost=my-proxy.com -Dhttp.proxyPort=1080 
  -Dhttps.proxyHost=my-proxy.com -Dhttps.proxyPort=1080 
  -DsocksProxyHost=my-socks-proxy.com 
  -Dhttp.nonProxyHosts=\"localhost|127.0.0.1|*.local|*.my-co.com\""

However I couldn't get it to ignore an internal server url when I tried it from Scala code using Apache HTTP client API.

https://username:pwd@server.my-co.com/foo/bar

Do I need to specify a different nonProxyHosts for HTTPS? The documentation didn't specify such a parameter. What am I missing? I am on a Mac.

Edit
Report