Skip to content

Returning a json response in IE<10 #5

@wood-chris

Description

@wood-chris

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?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions