{"action":"created","issue":{"url":"https://api.github.com/repos/haxetink/tink_web/issues/12","repository_url":"https://api.github.com/repos/haxetink/tink_web","labels_url":"https://api.github.com/repos/haxetink/tink_web/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/haxetink/tink_web/issues/12/comments","events_url":"https://api.github.com/repos/haxetink/tink_web/issues/12/events","html_url":"https://github.com/haxetink/tink_web/issues/12","id":179076901,"number":12,"title":"405 Method Not Allowed","user":{"login":"kevinresol","id":1103788,"avatar_url":"https://avatars.githubusercontent.com/u/1103788?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinresol","html_url":"https://github.com/kevinresol","followers_url":"https://api.github.com/users/kevinresol/followers","following_url":"https://api.github.com/users/kevinresol/following{/other_user}","gists_url":"https://api.github.com/users/kevinresol/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinresol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinresol/subscriptions","organizations_url":"https://api.github.com/users/kevinresol/orgs","repos_url":"https://api.github.com/users/kevinresol/repos","events_url":"https://api.github.com/users/kevinresol/events{/privacy}","received_events_url":"https://api.github.com/users/kevinresol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-25T09:20:20Z","updated_at":"2016-09-25T09:31:54Z","closed_at":null,"body":"When a uri-method combination doesn't exist, tink_web by defaults returns a 404 response.\r\nIt would be nice if it can distinguish between the 404 and 405 case:\r\n\r\n- 404: uri doesn't exist at all\r\n- 405: uri exists, but the current method is not supported"},"comment":{"url":"https://api.github.com/repos/haxetink/tink_web/issues/comments/249412010","html_url":"https://github.com/haxetink/tink_web/issues/12#issuecomment-249412010","issue_url":"https://api.github.com/repos/haxetink/tink_web/issues/12","id":249412010,"user":{"login":"kevinresol","id":1103788,"avatar_url":"https://avatars.githubusercontent.com/u/1103788?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinresol","html_url":"https://github.com/kevinresol","followers_url":"https://api.github.com/users/kevinresol/followers","following_url":"https://api.github.com/users/kevinresol/following{/other_user}","gists_url":"https://api.github.com/users/kevinresol/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinresol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinresol/subscriptions","organizations_url":"https://api.github.com/users/kevinresol/orgs","repos_url":"https://api.github.com/users/kevinresol/repos","events_url":"https://api.github.com/users/kevinresol/events{/privacy}","received_events_url":"https://api.github.com/users/kevinresol/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T09:31:54Z","updated_at":"2016-09-25T09:31:54Z","body":"Hm... just had a look into the codes. Seems it is not as easy as my initial thought because the matcher matches the method first then the uri.\r\n\r\nAnother direction may be about generating the `@:option(uri)` route based on what methods are allowed. \r\n\r\nIt is just a suggestion, maybe writing them manually is easier."}}
{"actor":{"display_login":"kevinresol"}}