Dear Symfony fans, I think I find a bug of sfWebResponse, but ...I'm not sure. For make sure, I post it before I make a ticket to Symfony. Hope someone who met the same problem could share some advices.
below is my sample code: in action: function executeTest() { $json = array('success'=>true); $this->getResponse()->setHttpHeader("X-JSON", '()'); echo json_encode($json); return sfView::HEADER_ONLY; } then I got 2 error messages. ...php\PEAR\symfony\response\sfWebResponse.class.php on line 264 ...php\PEAR\symfony\response\sfWebResponse.class.php on line 274 After I mark these 2 line code, the result is fine. my symfony version is 1.0.13 Regards, Cipher Chien --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---