Thanks,

This was my use case:
-----------------------------------------------
public function testIndex()
{
    $json = '{"jsonrpc":"2.0","method":"echo","id":7,"params":["Hello
World"]}';

    $client = $this->createClient(array('environment' => 'test'));
    $client->request('POST', '/rpc/session', array(), array(),
array(), false, $json);

    $content = $client->getResponse()->getContent();
    $this->assertEquals('{"result":"Hello
World","id":"7","error":null,"jsonrpc":"2.0"}', $content);
}

This is the location of the patch which makes this possible:
https://github.com/evers/symfony/tree/test-http-body-data

I send Fabien a pull request.

--
Martijn Evers

On 3 feb, 15:15, Kris Wallsmith <[email protected]>
wrote:
> Yes, you must run src/Symfony/Component/HttpKernel/Resources/bin/packager.php 
> to update bootstrap.php.
>
> --
>
> Kris Wallsmith | Release Manager
> [email protected]
> Portland, Oregon USA
>
> http://twitter.com/kriswallsmith
>
> On Feb 3, 2011, at 6:02 AM, Martijn wrote:
>
> > Is bootstrap.php generated? I was working on a patch. Turns out that
> > bootstrap.php is run, not the patched files.
>
> > --
> > Martijn Evers
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it to 
> > security at symfony-project.com
>
> > You received this message because you are subscribed to the Google
> > Groups "symfony developers" 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-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to