SNORQL icon indicating copy to clipboard operation
SNORQL copied to clipboard

Returning a json response in IE<10

Open wood-chris opened this issue 9 years ago • 0 comments

In IE8/9, requesting a JSON response from snorql gives a "Do you want to open or save..." prompt, as opposed to displaying the text in the browser. Example:

Using the following query in http://dbpedia.org/snorql/

SELECT * WHERE {
  ?a ?b ?c
} LIMIT 10

and selecting json results in this URL, which in Chrome and Firefox shows the json response in the browser. Trying this in IE9 results in:

Do you want to open or save sparql (2.60 KB) from dbpedia.org?

Would adjusting the headers of the json response fix this, or is it more complicated than that?!

wood-chris avatar Dec 16 '15 13:12 wood-chris