{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7212","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7212/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7212/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7212/events","html_url":"https://github.com/cakephp/cakephp/issues/7212","id":100247815,"number":7212,"title":"RequestHandlerComponent should have a config for the automatic view types","user":{"login":"lorenzo","id":37621,"avatar_url":"https://avatars.githubusercontent.com/u/37621?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzo","html_url":"https://github.com/lorenzo","followers_url":"https://api.github.com/users/lorenzo/followers","following_url":"https://api.github.com/users/lorenzo/following{/other_user}","gists_url":"https://api.github.com/users/lorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzo/subscriptions","organizations_url":"https://api.github.com/users/lorenzo/orgs","repos_url":"https://api.github.com/users/lorenzo/repos","events_url":"https://api.github.com/users/lorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/RFC","name":"RFC","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/55","html_url":"https://github.com/cakephp/cakephp/milestones/3.0.12","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/55/labels","id":1243170,"number":55,"title":"3.0.12","description":"Bugfixes and enhancements for 3.0.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":28,"state":"open","created_at":"2015-08-06T02:07:36Z","updated_at":"2015-08-16T09:18:15Z","due_on":"2015-08-26T04:00:00Z","closed_at":null},"comments":6,"created_at":"2015-08-11T07:44:46Z","updated_at":"2015-08-16T22:00:33Z","closed_at":null,"body":"Currently the `RequestHandlerComponent` responds automatically to json and xml depending on the Accept header, but there are cases were you do not want to support both formats, as it involves more testting and edge cases.\r\n\r\nThe RequestHandler should be able to get a configuration array with the possible automatic view types that should be inspected for."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/131632200","html_url":"https://github.com/cakephp/cakephp/issues/7212#issuecomment-131632200","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7212","id":131632200,"user":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T22:00:33Z","updated_at":"2015-08-16T22:00:33Z","body":"Good point a config option with a compatible default value makes sense then."}}