Apply sytem properties on HttpClient

Closes gh-6600
pull/6588/head
nagarajasr 8 years ago committed by Stephane Nicoll
parent 2a94e05775
commit 0996615ac3

@ -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;
} }

Loading…
Cancel
Save