remove all remaining references to httpclient4

This commit is contained in:
Athou
2023-12-26 08:15:35 +01:00
parent 5ba248eaba
commit b49d35f181
4 changed files with 13 additions and 21 deletions

View File

@@ -128,7 +128,7 @@ public class HttpGetter implements Managed {
response.getUrlAfterRedirect());
}
private CloseableHttpClient newClient(String userAgent, int poolSize) {
private static CloseableHttpClient newClient(String userAgent, int poolSize) {
SSLFactory sslFactory = SSLFactory.builder().withUnsafeTrustMaterial().withUnsafeHostnameVerifier().build();
List<Header> headers = new ArrayList<>();