{"action":"created","issue":{"url":"https://api.github.com/repos/excon/excon/issues/564","repository_url":"https://api.github.com/repos/excon/excon","labels_url":"https://api.github.com/repos/excon/excon/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/excon/excon/issues/564/comments","events_url":"https://api.github.com/repos/excon/excon/issues/564/events","html_url":"https://github.com/excon/excon/issues/564","id":150739483,"number":564,"title":"Redirects are using :get for requests instead of :head","user":{"login":"IceDragon200","id":1649873,"avatar_url":"https://avatars.githubusercontent.com/u/1649873?v=3","gravatar_id":"","url":"https://api.github.com/users/IceDragon200","html_url":"https://github.com/IceDragon200","followers_url":"https://api.github.com/users/IceDragon200/followers","following_url":"https://api.github.com/users/IceDragon200/following{/other_user}","gists_url":"https://api.github.com/users/IceDragon200/gists{/gist_id}","starred_url":"https://api.github.com/users/IceDragon200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IceDragon200/subscriptions","organizations_url":"https://api.github.com/users/IceDragon200/orgs","repos_url":"https://api.github.com/users/IceDragon200/repos","events_url":"https://api.github.com/users/IceDragon200/events{/privacy}","received_events_url":"https://api.github.com/users/IceDragon200/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-04-25T03:37:32Z","updated_at":"2016-12-12T15:46:56Z","closed_at":"2016-12-12T15:46:56Z","body":"In most cases, servers return all the needed data in their header, instead of using a [get request](https://github.com/excon/excon/blob/master/lib/excon/middlewares/redirect_follower.rb#L31) (and potentially pulling large amounts of data in that will be [thrown out anyway](https://github.com/excon/excon/blob/master/lib/excon/middlewares/redirect_follower.rb#L32)), shouldn't this a `:head` instead of `:get`?\n"},"comment":{"url":"https://api.github.com/repos/excon/excon/issues/comments/266465172","html_url":"https://github.com/excon/excon/issues/564#issuecomment-266465172","issue_url":"https://api.github.com/repos/excon/excon/issues/564","id":266465172,"user":{"login":"geemus","id":4138,"avatar_url":"https://avatars.githubusercontent.com/u/4138?v=3","gravatar_id":"","url":"https://api.github.com/users/geemus","html_url":"https://github.com/geemus","followers_url":"https://api.github.com/users/geemus/followers","following_url":"https://api.github.com/users/geemus/following{/other_user}","gists_url":"https://api.github.com/users/geemus/gists{/gist_id}","starred_url":"https://api.github.com/users/geemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geemus/subscriptions","organizations_url":"https://api.github.com/users/geemus/orgs","repos_url":"https://api.github.com/users/geemus/repos","events_url":"https://api.github.com/users/geemus/events{/privacy}","received_events_url":"https://api.github.com/users/geemus/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T15:46:56Z","updated_at":"2016-12-12T15:46:56Z","body":"I think this was enough of a special case that I'm satisfied with a custom-middleware to solve it. Closing this for now, but we can revisit if we find out there is a broader need. Thanks!"}}
{"actor":{"display_login":"geemus"}}