mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-02 19:30:23 +01:00
Apply sytem properties on HttpClient
Closes gh-6600
This commit is contained in:
committed by
Stephane Nicoll
parent
2a94e05775
commit
0996615ac3
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user