Skip to content

Commit

Permalink
Let G2P use system properties so that proxies are used (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
berndmoos committed Nov 8, 2024
1 parent 644fc8a commit fab32bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/exmaralda/webservices/G2PConnector.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ public class G2PConnector {

public String callG2P(File inFile, HashMap<String, Object> otherParameters) throws IOException, JDOMException{

CloseableHttpClient httpClient = HttpClientBuilder.create().build();
//CloseableHttpClient httpClient = HttpClientBuilder.create().build();
CloseableHttpClient httpClient = HttpClientBuilder.create().useSystemProperties().build();
MultipartEntityBuilder builder = MultipartEntityBuilder.create();
builder.setMode(HttpMultipartMode.BROWSER_COMPATIBLE);

Expand Down

0 comments on commit fab32bd

Please sign in to comment.