Commit 0996615a authored by nagarajasr's avatar nagarajasr Committed by Stephane Nicoll

Apply sytem properties on HttpClient

Closes gh-6600
parent 2a94e057
...@@ -76,7 +76,7 @@ class InitializrService { ...@@ -76,7 +76,7 @@ class InitializrService {
protected CloseableHttpClient getHttp() { protected CloseableHttpClient getHttp() {
if (this.http == null) { if (this.http == null) {
this.http = HttpClientBuilder.create().build(); this.http = HttpClientBuilder.create().useSystemProperties().build();
} }
return this.http; return this.http;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment