Apply sytem properties on HttpClient

Closes gh-6600
This commit is contained in:
nagarajasr
2016-08-09 22:08:58 +05:30
committed by Stephane Nicoll
parent 2a94e05775
commit 0996615ac3
@@ -76,7 +76,7 @@ class InitializrService {
protected CloseableHttpClient getHttp() {
if (this.http == null) {
this.http = HttpClientBuilder.create().build();
this.http = HttpClientBuilder.create().useSystemProperties().build();
}
return this.http;
}