Больше обходного пути ...
Если вы получаете содержание в своем действии следующим образом:
protected function getContent() {
$content = $this->request->getParameter('content');
if(!$content) $content = $this->request->getContent();
return $content;
}
public function executeIndex(sfWebRequest $request) {
$content = $this->getContent();
//do something with your content :D
}
, что должно позволить вам проверить, что вы хотите, передав
post('search', array('content' => 'whatever my content is'));