You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I need to control whether or not to use a proxy using system properties, without having access to the code.
If org.htmlunit.HttpWebConnection#createHttpClientBuilder() set builder.useSystemProperties(); ("Use system properties when creating and configuring default implementations") this works.
just thinking about having our own properties and an similar implementation as in the http client. To be independent from the HttpClient - but maybe this is a bit overcomplicated.
Sorry for being not that responsive during the last days - was on a workshop and will be out for two more weeks to have a holiday break. Afterwards we can work together to get this finally done.
I have a use case where I need to control whether or not to use a proxy using system properties, without having access to the code.
If
org.htmlunit.HttpWebConnection#createHttpClientBuilder()
setbuilder.useSystemProperties();
("Use system properties when creating and configuring default implementations") this works.This sets more than just proxy config according to https://issues.apache.org/jira/browse/HTTPCLIENT-1128 it sets:
Personally I would like this on by default in HtmlUnit. But having a config option to set this would be useful too.
The text was updated successfully, but these errors were encountered: