gravatar for mk

2 hours ago by

I'm using both the format query parameter (SPARQL standard) and the HTTP Accept header (HTTP content negotiation) to specify my desired results format (application/sparql-results+xml) and it only returns the full web page with an embedded html table of results. Is there any documentation on this behavior?

Here is the request header included in the response from the endpoint for one of my queries which seems to indicate that the Accept-portion of the request has been properly understood (and ignored?):

   GET /sparql?timeout=0&format=application%2Fsparql-results%2Bxml&query=PREFIX%20obo- HTTP/1.1

   Accept: application/sparql-results+xml
   User-Agent: HTTP.jl/1.4.2
   Content-Length: 0

The response (which I am omitting for brevity) includes the desired results for this query but they are embedded in the source for the full human-readable page, how can I just get the xml?


modified 2 hours ago

2 hours ago


Source link