Thanks for the pointer, but sadly my code is still not working as
intended. This snippet in one of my action's execute methods gives me
an empty response with a 200 status:
if ($this->getRequest()->getMethod() != sfRequest::POST)
{
$this->getResponse()->setStatusCode(403);
$this->renderText('<html><body>Forbidden!</body></html>');
throw new sfStopException();
}
Any other suggestions?
- donald
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---