{"action":"created","issue":{"url":"https://api.github.com/repos/sideshowcoder/canned/issues/80","labels_url":"https://api.github.com/repos/sideshowcoder/canned/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/sideshowcoder/canned/issues/80/comments","events_url":"https://api.github.com/repos/sideshowcoder/canned/issues/80/events","html_url":"https://github.com/sideshowcoder/canned/issues/80","id":118534362,"number":80,"title":"Doesn't consider Accepts Header to decide to return HTML or JSON","user":{"login":"git-jiby-me","id":1772824,"avatar_url":"https://avatars.githubusercontent.com/u/1772824?v=3","gravatar_id":"","url":"https://api.github.com/users/git-jiby-me","html_url":"https://github.com/git-jiby-me","followers_url":"https://api.github.com/users/git-jiby-me/followers","following_url":"https://api.github.com/users/git-jiby-me/following{/other_user}","gists_url":"https://api.github.com/users/git-jiby-me/gists{/gist_id}","starred_url":"https://api.github.com/users/git-jiby-me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-jiby-me/subscriptions","organizations_url":"https://api.github.com/users/git-jiby-me/orgs","repos_url":"https://api.github.com/users/git-jiby-me/repos","events_url":"https://api.github.com/users/git-jiby-me/events{/privacy}","received_events_url":"https://api.github.com/users/git-jiby-me/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T05:29:31Z","updated_at":"2015-11-24T07:31:59Z","closed_at":null,"body":"If i have one GET endpoint, returning HTML and JSON based on Accepts header, it always delivers the HTML content whatever be the  Accepts Header.\r\n\r\nAs far as i see, if there is HTML and JSON responses for a endpoint, canned should check the Accepts Header to decide which content to sent"},"comment":{"url":"https://api.github.com/repos/sideshowcoder/canned/issues/comments/159182833","html_url":"https://github.com/sideshowcoder/canned/issues/80#issuecomment-159182833","issue_url":"https://api.github.com/repos/sideshowcoder/canned/issues/80","id":159182833,"user":{"login":"git-jiby-me","id":1772824,"avatar_url":"https://avatars.githubusercontent.com/u/1772824?v=3","gravatar_id":"","url":"https://api.github.com/users/git-jiby-me","html_url":"https://github.com/git-jiby-me","followers_url":"https://api.github.com/users/git-jiby-me/followers","following_url":"https://api.github.com/users/git-jiby-me/following{/other_user}","gists_url":"https://api.github.com/users/git-jiby-me/gists{/gist_id}","starred_url":"https://api.github.com/users/git-jiby-me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/git-jiby-me/subscriptions","organizations_url":"https://api.github.com/users/git-jiby-me/orgs","repos_url":"https://api.github.com/users/git-jiby-me/repos","events_url":"https://api.github.com/users/git-jiby-me/events{/privacy}","received_events_url":"https://api.github.com/users/git-jiby-me/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T07:31:59Z","updated_at":"2015-11-24T07:31:59Z","body":"Submitted a pull request introducing this fix, https://github.com/sideshowcoder/canned/pull/81"}}