{"action":"created","issue":{"url":"https://api.github.com/repos/koajs/route/issues/25","labels_url":"https://api.github.com/repos/koajs/route/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/koajs/route/issues/25/comments","events_url":"https://api.github.com/repos/koajs/route/issues/25/events","html_url":"https://github.com/koajs/route/pull/25","id":56925796,"number":25,"title":"added return statement in case of path miss","user":{"login":"gimre","id":4921311,"avatar_url":"https://avatars.githubusercontent.com/u/4921311?v=3","gravatar_id":"","url":"https://api.github.com/users/gimre","html_url":"https://github.com/gimre","followers_url":"https://api.github.com/users/gimre/followers","following_url":"https://api.github.com/users/gimre/following{/other_user}","gists_url":"https://api.github.com/users/gimre/gists{/gist_id}","starred_url":"https://api.github.com/users/gimre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimre/subscriptions","organizations_url":"https://api.github.com/users/gimre/orgs","repos_url":"https://api.github.com/users/gimre/repos","events_url":"https://api.github.com/users/gimre/events{/privacy}","received_events_url":"https://api.github.com/users/gimre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-07T20:58:07Z","updated_at":"2015-02-07T21:00:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/koajs/route/pulls/25","html_url":"https://github.com/koajs/route/pull/25","diff_url":"https://github.com/koajs/route/pull/25.diff","patch_url":"https://github.com/koajs/route/pull/25.patch"},"body":"added return statement for consistent behavior in some cases where return values are expected from subsequent middleware after route handling"},"comment":{"url":"https://api.github.com/repos/koajs/route/issues/comments/73382880","html_url":"https://github.com/koajs/route/pull/25#issuecomment-73382880","issue_url":"https://api.github.com/repos/koajs/route/issues/25","id":73382880,"user":{"login":"gimre","id":4921311,"avatar_url":"https://avatars.githubusercontent.com/u/4921311?v=3","gravatar_id":"","url":"https://api.github.com/users/gimre","html_url":"https://github.com/gimre","followers_url":"https://api.github.com/users/gimre/followers","following_url":"https://api.github.com/users/gimre/following{/other_user}","gists_url":"https://api.github.com/users/gimre/gists{/gist_id}","starred_url":"https://api.github.com/users/gimre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimre/subscriptions","organizations_url":"https://api.github.com/users/gimre/orgs","repos_url":"https://api.github.com/users/gimre/repos","events_url":"https://api.github.com/users/gimre/events{/privacy}","received_events_url":"https://api.github.com/users/gimre/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T21:00:23Z","updated_at":"2015-02-07T21:00:23Z","body":"Hey, I have a situation where I am expecting a return value from a middleware downstream of some koa-route handlers and behaviour is different depending on whether the request method matches or not.\r\n\r\nAdding the return statement makes behaviour consistent.\r\n\r\nThanks!"}}