{"action":"created","issue":{"url":"https://api.github.com/repos/typhoeus/ethon/issues/134","repository_url":"https://api.github.com/repos/typhoeus/ethon","labels_url":"https://api.github.com/repos/typhoeus/ethon/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/typhoeus/ethon/issues/134/comments","events_url":"https://api.github.com/repos/typhoeus/ethon/issues/134/events","html_url":"https://github.com/typhoeus/ethon/issues/134","id":193169609,"number":134,"title":"Ethon 0.10.0 breaks access to Heroku apps","user":{"login":"jcarvalho","id":849596,"avatar_url":"https://avatars.githubusercontent.com/u/849596?v=3","gravatar_id":"","url":"https://api.github.com/users/jcarvalho","html_url":"https://github.com/jcarvalho","followers_url":"https://api.github.com/users/jcarvalho/followers","following_url":"https://api.github.com/users/jcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/jcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/jcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcarvalho/subscriptions","organizations_url":"https://api.github.com/users/jcarvalho/orgs","repos_url":"https://api.github.com/users/jcarvalho/repos","events_url":"https://api.github.com/users/jcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/jcarvalho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-02T17:14:15Z","updated_at":"2016-12-02T18:15:01Z","closed_at":null,"body":"Installing a simple application with the following Gemfile:\r\n\r\n```ruby\r\nsource 'https://rubygems.org'\r\n\r\nruby '2.3.3'\r\n\r\ngem 'typhoeus'\r\ngem 'pry'\r\n\r\n```\r\n\r\nBreaks access to any Heroku application. Example:\r\n\r\n```ruby\r\n[1] pry(main)> require 'typhoeus'\r\n=> true\r\n[2] pry(main)> Typhoeus.get 'https://atom-slack.herokuapp.com/'\r\n=> #<Typhoeus::Response:0x0055e05f401fb0\r\n @options=\r\n  {:httpauth_avail=>0,\r\n   :total_time=>0.760061,\r\n   :starttransfer_time=>0.759811,\r\n   :appconnect_time=>0.640636,\r\n   :pretransfer_time=>0.640822,\r\n   :connect_time=>0.2532,\r\n   :namelookup_time=>0.124947,\r\n   :redirect_time=>0.0,\r\n   :effective_url=>\"https://atom-slack.herokuapp.com/\",\r\n   :primary_ip=>\"23.23.73.170\",\r\n   :response_code=>400,\r\n   :request_size=>133,\r\n   :redirect_count=>0,\r\n   :return_code=>:ok,\r\n   :response_headers=>\r\n    \"HTTP/1.1 400 Bad Request\\r\\nConnection: keep-alive\\r\\nServer: Cowboy\\r\\nDate: Fri, 02 Dec 2016 17:12:25 GMT\\r\\nContent-Length: 0\\r\\n\\r\\n\",\r\n   :response_body=>\"\",\r\n   :debug_info=>#<Ethon::Easy::DebugInfo:0x0055e05f408068 @messages=[]>},\r\n @request=\r\n  #<Typhoeus::Request:0x0055e05f409170\r\n   @base_url=\"https://atom-slack.herokuapp.com/\",\r\n   @on_complete=[],\r\n   @on_failure=[],\r\n   @on_headers=[],\r\n   @options=\r\n    {:method=>:get, :headers=>{\"User-Agent\"=>\"Typhoeus - https://github.com/typhoeus/typhoeus\", \"Expect\"=>\"\"}, :maxredirs=>50},\r\n   @original_options={:method=>:get},\r\n   @response=#<Typhoeus::Response:0x0055e05f401fb0 ...>>>\r\n```\r\n\r\nNotice the 400 status code. Brining Ethon back to 0.9.1, everything works as expected (200 status code)."},"comment":{"url":"https://api.github.com/repos/typhoeus/ethon/issues/comments/264522793","html_url":"https://github.com/typhoeus/ethon/issues/134#issuecomment-264522793","issue_url":"https://api.github.com/repos/typhoeus/ethon/issues/134","id":264522793,"user":{"login":"i0rek","id":38218,"avatar_url":"https://avatars.githubusercontent.com/u/38218?v=3","gravatar_id":"","url":"https://api.github.com/users/i0rek","html_url":"https://github.com/i0rek","followers_url":"https://api.github.com/users/i0rek/followers","following_url":"https://api.github.com/users/i0rek/following{/other_user}","gists_url":"https://api.github.com/users/i0rek/gists{/gist_id}","starred_url":"https://api.github.com/users/i0rek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i0rek/subscriptions","organizations_url":"https://api.github.com/users/i0rek/orgs","repos_url":"https://api.github.com/users/i0rek/repos","events_url":"https://api.github.com/users/i0rek/events{/privacy}","received_events_url":"https://api.github.com/users/i0rek/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T18:15:01Z","updated_at":"2016-12-02T18:15:01Z","body":"I released a new version with the revert."}}
{"actor":{"display_login":"i0rek"}}