{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/399","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/399/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/399/events","html_url":"https://github.com/Codeception/Codeception/issues/399","id":16078799,"number":399,"title":"PhpBrowser - curl CURLOPT_USERAGENT option in yml configuration file not working?","user":{"login":"oprog","id":3731303,"avatar_url":"https://avatars.githubusercontent.com/u/3731303?v=3","gravatar_id":"","url":"https://api.github.com/users/oprog","html_url":"https://github.com/oprog","followers_url":"https://api.github.com/users/oprog/followers","following_url":"https://api.github.com/users/oprog/following{/other_user}","gists_url":"https://api.github.com/users/oprog/gists{/gist_id}","starred_url":"https://api.github.com/users/oprog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oprog/subscriptions","organizations_url":"https://api.github.com/users/oprog/orgs","repos_url":"https://api.github.com/users/oprog/repos","events_url":"https://api.github.com/users/oprog/events{/privacy}","received_events_url":"https://api.github.com/users/oprog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/BUG","name":"BUG","color":"c0392b"},{"url":"https://api.github.com/repos/Codeception/Codeception/labels/PhpBrowser","name":"PhpBrowser","color":"bdc3c7"},{"url":"https://api.github.com/repos/Codeception/Codeception/labels/Reproduce","name":"Reproduce","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"zbateson","id":8356974,"avatar_url":"https://avatars.githubusercontent.com/u/8356974?v=3","gravatar_id":"","url":"https://api.github.com/users/zbateson","html_url":"https://github.com/zbateson","followers_url":"https://api.github.com/users/zbateson/followers","following_url":"https://api.github.com/users/zbateson/following{/other_user}","gists_url":"https://api.github.com/users/zbateson/gists{/gist_id}","starred_url":"https://api.github.com/users/zbateson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbateson/subscriptions","organizations_url":"https://api.github.com/users/zbateson/orgs","repos_url":"https://api.github.com/users/zbateson/repos","events_url":"https://api.github.com/users/zbateson/events{/privacy}","received_events_url":"https://api.github.com/users/zbateson/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2013-06-27T10:07:54Z","updated_at":"2015-08-17T21:13:07Z","closed_at":null,"body":"in acceptance.suite.yml\r\n\r\n```yml\r\nclass_name: WebGuy\r\nmodules:\r\n    enabled:\r\n        - PhpBrowser\r\n        - WebHelper\r\n    config:\r\n        PhpBrowser:\r\n            url: 'http://127.0.0.1'\r\n            curl: \r\n                CURLOPT_USERAGENT: 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36'\r\n```\r\n\r\nrunning a simple test I still get the default user agent string:\r\n> Guzzle/3.3.1 curl/7.27.0 PHP/5.4.16, Symfony2 BrowserKit\r\n\r\nAny hint? is it a bug?"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/131962410","html_url":"https://github.com/Codeception/Codeception/issues/399#issuecomment-131962410","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/399","id":131962410,"user":{"login":"Naktibalda","id":395992,"avatar_url":"https://avatars.githubusercontent.com/u/395992?v=3","gravatar_id":"","url":"https://api.github.com/users/Naktibalda","html_url":"https://github.com/Naktibalda","followers_url":"https://api.github.com/users/Naktibalda/followers","following_url":"https://api.github.com/users/Naktibalda/following{/other_user}","gists_url":"https://api.github.com/users/Naktibalda/gists{/gist_id}","starred_url":"https://api.github.com/users/Naktibalda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naktibalda/subscriptions","organizations_url":"https://api.github.com/users/Naktibalda/orgs","repos_url":"https://api.github.com/users/Naktibalda/repos","events_url":"https://api.github.com/users/Naktibalda/events{/privacy}","received_events_url":"https://api.github.com/users/Naktibalda/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T21:13:07Z","updated_at":"2015-08-17T21:13:07Z","body":"Not an issue.\r\n\r\nCorrect way to set headers is to use headers option of PhpBrowser module: http://codeception.com/docs/modules/PhpBrowser#Configuration"}}