Problems with Internet Explorer and application/json
My current project based on Symfony and YUI was developed using Firefox (and its great plugin Firebug) and Safari. It made heavy use of JSON. My Symfony action looked like public function executeSomething () { $this->getResponse ()->setHttpHeader (’Content-Type’, ‘application/json’); // … Do something return $this->renderText ($myJsonCode); } Nothing spectacular. This code works with Opera, Firefox [...]
- June 6th
- 3 Comments