Skip to content

Commit

Permalink
Use system proxy settings.
Browse files Browse the repository at this point in the history
The resolver for 'identifiers.org' uses the Apache HTTP client, which by
default does not honor the JVM proxy settings. This commit updates the
resolver to force the client to use said settings.

closes #1231
  • Loading branch information
gouttegd committed Sep 17, 2024
1 parent 3487c11 commit 95532cf
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ public List<IdoNamespace> getCollections() {

@Nonnull
private static HttpClient createClient() {
return HttpClientBuilder.create().build();


return HttpClientBuilder.create().useSystemProperties().build();
}
}

0 comments on commit 95532cf

Please sign in to comment.