{"action":"created","issue":{"url":"https://api.github.com/repos/Behatch/contexts/issues/128","labels_url":"https://api.github.com/repos/Behatch/contexts/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/Behatch/contexts/issues/128/comments","events_url":"https://api.github.com/repos/Behatch/contexts/issues/128/events","html_url":"https://github.com/Behatch/contexts/issues/128","id":83907610,"number":128,"title":"Call to undefined method Symfony\\Component\\HttpKernel\\Client::setHeader","user":{"login":"koorb","id":870611,"avatar_url":"https://avatars.githubusercontent.com/u/870611?v=3","gravatar_id":"","url":"https://api.github.com/users/koorb","html_url":"https://github.com/koorb","followers_url":"https://api.github.com/users/koorb/followers","following_url":"https://api.github.com/users/koorb/following{/other_user}","gists_url":"https://api.github.com/users/koorb/gists{/gist_id}","starred_url":"https://api.github.com/users/koorb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koorb/subscriptions","organizations_url":"https://api.github.com/users/koorb/orgs","repos_url":"https://api.github.com/users/koorb/repos","events_url":"https://api.github.com/users/koorb/events{/privacy}","received_events_url":"https://api.github.com/users/koorb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-02T08:19:18Z","updated_at":"2015-06-03T10:16:02Z","closed_at":null,"body":"I'm trying to set a header before sending a request and an exception is thrown.\r\n\r\n```\r\nPHP Fatal error:  Call to undefined method Symfony\\Component\\HttpKernel\\Client::setHeader() in /Users/richard/…/vendor/behatch/contexts/src/HttpCall/Request.php on line 51\r\n```\r\n\r\nHeres a snippet from the scenario:\r\n\r\n```\r\nAnd I add \"Content-Type\" header equal to \"application/json\"\r\nWhen I send a POST request to \"/path\" with body:\r\n…\r\n```"},"comment":{"url":"https://api.github.com/repos/Behatch/contexts/issues/comments/108287587","html_url":"https://github.com/Behatch/contexts/issues/128#issuecomment-108287587","issue_url":"https://api.github.com/repos/Behatch/contexts/issues/128","id":108287587,"user":{"login":"sanpii","id":113045,"avatar_url":"https://avatars.githubusercontent.com/u/113045?v=3","gravatar_id":"","url":"https://api.github.com/users/sanpii","html_url":"https://github.com/sanpii","followers_url":"https://api.github.com/users/sanpii/followers","following_url":"https://api.github.com/users/sanpii/following{/other_user}","gists_url":"https://api.github.com/users/sanpii/gists{/gist_id}","starred_url":"https://api.github.com/users/sanpii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanpii/subscriptions","organizations_url":"https://api.github.com/users/sanpii/orgs","repos_url":"https://api.github.com/users/sanpii/repos","events_url":"https://api.github.com/users/sanpii/events{/privacy}","received_events_url":"https://api.github.com/users/sanpii/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T10:16:02Z","updated_at":"2015-06-03T10:16:02Z","body":"This is probably a duplicate of #119.\r\n\r\nCan you test the [browser-kit](https://github.com/Behatch/contexts/tree/browser-kit) branch?"}}