@Rndm, I'm glad you raised the question again. It made me review and confirm this for myself. Thanks.
Do not beat a dead horse, again. But on the net, there seems to be no consensus on what should be used as the JSON MIME type.
The specification clearly indicates only one type of MIME media for JSON, and this is " application / json " (see http://tools.ietf.org/html/rfc4627 , section "6. IANA Considerations").
However, it seems that in many cases browsers expect other types , and this is regrettable (see "I just struggled with IE8 for a long time with this, I found that if you load json in the iframe as text / plain"). Msgstr " What problems might occur when using a MIME application like / json?" , Norgg, November 27, 16:20).
Robert
source share