{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/18698","labels_url":"https://api.github.com/repos/rails/rails/issues/18698/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/18698/comments","events_url":"https://api.github.com/repos/rails/rails/issues/18698/events","html_url":"https://github.com/rails/rails/issues/18698","id":55617561,"number":18698,"title":"header fetching does not work any more with rails 4.2","user":{"login":"dspaeth-faber","id":7701058,"avatar_url":"https://avatars.githubusercontent.com/u/7701058?v=3","gravatar_id":"","url":"https://api.github.com/users/dspaeth-faber","html_url":"https://github.com/dspaeth-faber","followers_url":"https://api.github.com/users/dspaeth-faber/followers","following_url":"https://api.github.com/users/dspaeth-faber/following{/other_user}","gists_url":"https://api.github.com/users/dspaeth-faber/gists{/gist_id}","starred_url":"https://api.github.com/users/dspaeth-faber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dspaeth-faber/subscriptions","organizations_url":"https://api.github.com/users/dspaeth-faber/orgs","repos_url":"https://api.github.com/users/dspaeth-faber/repos","events_url":"https://api.github.com/users/dspaeth-faber/events{/privacy}","received_events_url":"https://api.github.com/users/dspaeth-faber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/actionpack","name":"actionpack","color":"FFF700"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rails/rails/milestones/38","labels_url":"https://api.github.com/repos/rails/rails/milestones/38/labels","id":903977,"number":38,"title":"4.2.1","description":"","creator":{"login":"chancancode","id":55829,"avatar_url":"https://avatars.githubusercontent.com/u/55829?v=3","gravatar_id":"","url":"https://api.github.com/users/chancancode","html_url":"https://github.com/chancancode","followers_url":"https://api.github.com/users/chancancode/followers","following_url":"https://api.github.com/users/chancancode/following{/other_user}","gists_url":"https://api.github.com/users/chancancode/gists{/gist_id}","starred_url":"https://api.github.com/users/chancancode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chancancode/subscriptions","organizations_url":"https://api.github.com/users/chancancode/orgs","repos_url":"https://api.github.com/users/chancancode/repos","events_url":"https://api.github.com/users/chancancode/events{/privacy}","received_events_url":"https://api.github.com/users/chancancode/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":48,"state":"open","created_at":"2014-12-15T08:25:47Z","updated_at":"2015-01-27T13:34:47Z","due_on":"2015-01-27T02:00:00Z","closed_at":null},"comments":1,"created_at":"2015-01-27T13:31:16Z","updated_at":"2015-01-27T14:11:28Z","closed_at":null,"body":"Hi,\r\n\r\nI have the following setup:\r\n\r\nroutes.rb\r\n```ruby\r\n   get 'is-alive-token' => 'heart_beat#index'\r\n```\r\nheart_beat_controller,rb\r\n\r\n```ruby\r\nclass HeartBeatController < ApplicationController\r\n  def index\r\n    render json: {}, status: 200\r\n  end\r\nend\r\n```\r\n\r\nWhen I use:\r\n\r\n```\r\n  curl -I http://127.0.0.1:3000/is-alive-token\r\n```\r\n\r\nprior rails 4.2 I got `HTTP/1.1 200`\r\n\r\nwith rails 4.2 I get `HTTP/1.1 404` + an exception\r\n\r\n```ruby\r\nActionController::RoutingError (No route matches [HEAD] \"/is-alive-token\")\r\n```\r\n\r\nIs there a new directive within the routes to get HEAD calls up and running?\r\n\r\nregards\r\ndieter\r\n \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/71653121","html_url":"https://github.com/rails/rails/issues/18698#issuecomment-71653121","issue_url":"https://api.github.com/repos/rails/rails/issues/18698","id":71653121,"user":{"login":"dspaeth-faber","id":7701058,"avatar_url":"https://avatars.githubusercontent.com/u/7701058?v=3","gravatar_id":"","url":"https://api.github.com/users/dspaeth-faber","html_url":"https://github.com/dspaeth-faber","followers_url":"https://api.github.com/users/dspaeth-faber/followers","following_url":"https://api.github.com/users/dspaeth-faber/following{/other_user}","gists_url":"https://api.github.com/users/dspaeth-faber/gists{/gist_id}","starred_url":"https://api.github.com/users/dspaeth-faber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dspaeth-faber/subscriptions","organizations_url":"https://api.github.com/users/dspaeth-faber/orgs","repos_url":"https://api.github.com/users/dspaeth-faber/repos","events_url":"https://api.github.com/users/dspaeth-faber/events{/privacy}","received_events_url":"https://api.github.com/users/dspaeth-faber/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T14:11:28Z","updated_at":"2015-01-27T14:11:28Z","body":"Is it a duplicate of #18513 ?"}}