{"action":"created","issue":{"url":"https://api.github.com/repos/intridea/grape/issues/968","labels_url":"https://api.github.com/repos/intridea/grape/issues/968/labels{/name}","comments_url":"https://api.github.com/repos/intridea/grape/issues/968/comments","events_url":"https://api.github.com/repos/intridea/grape/issues/968/events","html_url":"https://github.com/intridea/grape/issues/968","id":64099081,"number":968,"title":"endpoints with same URL but different versions throws InvalidAcceptHeader on 0.11.0","user":{"login":"jpaas","id":1231716,"avatar_url":"https://avatars.githubusercontent.com/u/1231716?v=3","gravatar_id":"","url":"https://api.github.com/users/jpaas","html_url":"https://github.com/jpaas","followers_url":"https://api.github.com/users/jpaas/followers","following_url":"https://api.github.com/users/jpaas/following{/other_user}","gists_url":"https://api.github.com/users/jpaas/gists{/gist_id}","starred_url":"https://api.github.com/users/jpaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpaas/subscriptions","organizations_url":"https://api.github.com/users/jpaas/orgs","repos_url":"https://api.github.com/users/jpaas/repos","events_url":"https://api.github.com/users/jpaas/events{/privacy}","received_events_url":"https://api.github.com/users/jpaas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/intridea/grape/labels/bug?","name":"bug?","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-24T21:06:26Z","updated_at":"2015-03-31T12:28:35Z","closed_at":null,"body":"I am mounting two versions v1 and v2, and I'm using the :header option. Two of the endpoints have the same URL /api/version.\r\n\r\nIn 0.10.1 I could select the correct version using the Accept header.\r\nIn 0.11.0 I can access v1(which is mounted first), but I can no longer select v2 (mounted second). It throws Grape::Exceptions::InvalidAcceptHeader.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/intridea/grape/issues/comments/88065980","html_url":"https://github.com/intridea/grape/issues/968#issuecomment-88065980","issue_url":"https://api.github.com/repos/intridea/grape/issues/968","id":88065980,"user":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T12:28:35Z","updated_at":"2015-03-31T12:28:35Z","body":"Interesting, care to link a bug in rack-accept?"}}