{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/1326","repository_url":"https://api.github.com/repos/ruby-grape/grape","labels_url":"https://api.github.com/repos/ruby-grape/grape/issues/1326/labels{/name}","comments_url":"https://api.github.com/repos/ruby-grape/grape/issues/1326/comments","events_url":"https://api.github.com/repos/ruby-grape/grape/issues/1326/events","html_url":"https://github.com/ruby-grape/grape/pull/1326","id":141323527,"number":1326,"title":"Add test for OPTIONS and HEAD requests with catch-all","user":{"login":"namusyaka","id":309329,"avatar_url":"https://avatars.githubusercontent.com/u/309329?v=3","gravatar_id":"","url":"https://api.github.com/users/namusyaka","html_url":"https://github.com/namusyaka","followers_url":"https://api.github.com/users/namusyaka/followers","following_url":"https://api.github.com/users/namusyaka/following{/other_user}","gists_url":"https://api.github.com/users/namusyaka/gists{/gist_id}","starred_url":"https://api.github.com/users/namusyaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namusyaka/subscriptions","organizations_url":"https://api.github.com/users/namusyaka/orgs","repos_url":"https://api.github.com/users/namusyaka/repos","events_url":"https://api.github.com/users/namusyaka/events{/privacy}","received_events_url":"https://api.github.com/users/namusyaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-16T16:16:14Z","updated_at":"2016-03-16T16:27:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ruby-grape/grape/pulls/1326","html_url":"https://github.com/ruby-grape/grape/pull/1326","diff_url":"https://github.com/ruby-grape/grape/pull/1326.diff","patch_url":"https://github.com/ruby-grape/grape/pull/1326.patch"},"body":"ref #1057\r\nI've cherry-picked @ekampp's commit and fixed a little bit.\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/comments/197410018","html_url":"https://github.com/ruby-grape/grape/pull/1326#issuecomment-197410018","issue_url":"https://api.github.com/repos/ruby-grape/grape/issues/1326","id":197410018,"user":{"login":"namusyaka","id":309329,"avatar_url":"https://avatars.githubusercontent.com/u/309329?v=3","gravatar_id":"","url":"https://api.github.com/users/namusyaka","html_url":"https://github.com/namusyaka","followers_url":"https://api.github.com/users/namusyaka/followers","following_url":"https://api.github.com/users/namusyaka/following{/other_user}","gists_url":"https://api.github.com/users/namusyaka/gists{/gist_id}","starred_url":"https://api.github.com/users/namusyaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namusyaka/subscriptions","organizations_url":"https://api.github.com/users/namusyaka/orgs","repos_url":"https://api.github.com/users/namusyaka/repos","events_url":"https://api.github.com/users/namusyaka/events{/privacy}","received_events_url":"https://api.github.com/users/namusyaka/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T16:27:16Z","updated_at":"2016-03-16T16:27:16Z","body":"Well, `OPTIONS` seems not to have the restriction of status codes.\r\nOur default `OPTIONS` routes are defined at [this line](https://github.com/ruby-grape/grape/blob/master/lib/grape/api.rb#L180-L186), and this means that a response of the route will be empty. \r\nSo I guess `204` status is reasonable, right?"}}