Closed mbollmann closed 7 years ago
Original comment by Marcel Bollmann (Bitbucket: mbollmann, GitHub: mbollmann):
Iframes render their response in an invisible browser frame (hence the name), for which "application/json" apparently isn't a valid content type.
Suggestion:
via=iframe
) identifying themselves<textarea>
or <pre>
?) to make sure the browser doesn't mangle the content in any way, and change the JavaScript that parses the iframe response accordingly
Originally reported by: Marcel Bollmann (Bitbucket: mbollmann, GitHub: mbollmann)
At some point, requests made using iframes stopped working properly (the response text isn't pure JSON anymore).
Maybe the "Content-Type: application/json" header is responsible?
Either...