zeroem/ZeroemCurlBundle — pull request #4 by espiao (2012-03-28 22:47:10+00:00)
Title: Fixed two issues

I fixed two problems:

Fatal error: Using $this when not in object context in /private/var/www/projects/xxxxx/vendor/bundles/Zeroem/CurlBundle/Curl/CurlOptions.php on line 177

And

Notice: Undefined offset: 1 in /private/var/www/projects/xxxxx/vendor/bundles/Zeroem/CurlBundle/Curl/ResponsePopulator/PopulateHeader.php line 71

I used this code to reach the two problems above:

$request = Request::create($url);
$request->request->add($data);
$request->setMethod('post');

$remoteKernel = new RemoteHttpKernel();
$response = $remoteKernel->handle($request);