On 15/09/15 13:55, Roberto García wrote:
Dear all,

While trying to interact with a SPARQL EndPoint using the DatasetAccessor
(or directly DatasetGraphAccessorHTTP) I'm experiencing problems because
chunked is used as the Transfer-Encoding the the endpoint doesn't support
it.

Is it possible to configure the underlying HTTP client to avoid this
transfer encoding mode? Looking at the documentation and code of these
classes I haven't been able to realise how.

Best regards,


Roberto García
http://rhizomik.net/~roberto/


(Jena version?)

Which direction is the chunk encoding? Sending RDF to the server or receiving RDF from the server?

As far as I can see, it's not set by Jena code. Jena uses Apache HttpComponents so it might be the default there somewhere, though on a quick scan, the default is off.

There are two related places: the Entity used to construct the body to send and the HTTP request to retrieve data. Do you have trace of the HTTP request?


        Andy

For a Graph Store Protocol request I see the request as being 9thisis from "fuseki1 -v"

GET http://localhost:3030/ds/data?default
Accept text/turtle,application/n-triples;q=0.9,application/ld+json;q=0.8,application/rdf+xml;q=0.7,*/*;q=0.5
   Connection           keep-alive
   User-Agent           Apache-Jena-ARQ/3.0.1-SNAPSHOT
   Host                 localhost:3030
   Get: Content-Type=text/turtle, Charset=null => Turtle
   Content-Type         text/turtle
   Server               Fuseki (1.3.1-SNAPSHOT)
   Access-Control-Allow-Origin *
   Vary                 Accept,Accept-Encoding,Accept-Charset

Reply via email to