Skip to content

Commit

Permalink
Use the connection's httpClient and httpContext for fetchDataset().
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Aug 24, 2018
1 parent 09f0e8b commit dfa40be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public Dataset fetchDataset() {
throw new ARQException("Dataset operations not available - no dataset URL provided");
Dataset ds = DatasetFactory.createTxnMem();
Txn.executeWrite(ds, ()->{
TypedInputStream s = exec(()->HttpOp.execHttpGet(destination, acceptDataset));
TypedInputStream s = exec(()->HttpOp.execHttpGet(destination, acceptDataset, this.httpClient, this.httpContext));
Lang lang = RDFLanguages.contentTypeToLang(s.getContentType());
RDFDataMgr.read(ds, s, lang);
});
Expand Down

0 comments on commit dfa40be

Please sign in to comment.