His Frans, I reported your issue to our jira: https://issues.apache.org/jira/browse/MARMOTTA-656
I quickly found the problem, and develop branch is already patched to work as expected. So for now this should work on 3.4.0-SNAPSHOT: http://localhost:8080/sparql/select?query=SELECT%20*%20WHERE%20%7B%0A%20%20%3Fsubject%20%3Fproperty%20%3Fobject%0A%7D%0ALIMIT%2010 Thanks for the bug report. Cheers, On Fri, Sep 9, 2016 at 4:46 PM, Frans Knibbe <frans.kni...@geodan.nl> wrote: > Hello again, > > Is there a way to let Marmotta respond to a SPARQL request that I open > with a web browser with HTML that can be directly displayed in the web > browser? > > I am trying something like > > {BASE}/marmotta/sparql?query=<my URL-encoded query> > > The response is not rendered in the browser window, but downloaded as a > file to disk. The relevant response headers seem to be: > > Content-Type: application/sparql-results+xml > Content-Disposition: attachment; filename="tuple.srx" > > I think the &output parameter for the SPARQL websource can be used to > specify a response format, so I tried > > {BASE}/marmotta/sparql?query=<my URL-encoded query>&output=html > > Still the response is downloaded as a file, not displayed in the browser. > The relevant response headers seem to be: > > Content-Type: text/html > Content-Disposition: attachment; filename="tuple.html" > > I guess the problem is the Content-Disposition response header, which says > the response is an attachment. > > Is it possible to change something to make Marmotta return a response that > can be directly displayed in the browsers? > > Regards, > Frans > -- Sergio Fernández Partner Technology Manager Redlink GmbH m: +43 6602747925 e: sergio.fernan...@redlink.co w: http://redlink.co