GitHub user afs added a comment to the discussion: Fuseki: setting an 
User-agent header for outgoing SPARQL request?

Hi @Abbe98 - This is so that a query with `SERVICE` sent to a Fuseki server 
will call wikidata with the right user agent? And how to do that without 
writing java code?

It used to be possible (old java networking) with system properties but for the 
newer `java.net.http` it looks like the JDK does not allow external setting 
(which makes sense from a security perspective).

The JDK default is `Java-http-client/21.0.6` so it looks like that is one of 
the ones wikidata don't like.

It is a code change to make that accessible to setting from the fuseki script.


GitHub link: 
https://github.com/apache/jena/discussions/3139#discussioncomment-12913301

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to