{"action":"created","issue":{"url":"https://api.github.com/repos/benoitc/hackney/issues/105","repository_url":"https://api.github.com/repos/benoitc/hackney","labels_url":"https://api.github.com/repos/benoitc/hackney/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/benoitc/hackney/issues/105/comments","events_url":"https://api.github.com/repos/benoitc/hackney/issues/105/events","html_url":"https://github.com/benoitc/hackney/issues/105","id":32746877,"number":105,"title":"follow_redirect still not perfect","user":{"login":"gdamjan","id":81654,"avatar_url":"https://avatars.githubusercontent.com/u/81654?v=3","gravatar_id":"","url":"https://api.github.com/users/gdamjan","html_url":"https://github.com/gdamjan","followers_url":"https://api.github.com/users/gdamjan/followers","following_url":"https://api.github.com/users/gdamjan/following{/other_user}","gists_url":"https://api.github.com/users/gdamjan/gists{/gist_id}","starred_url":"https://api.github.com/users/gdamjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdamjan/subscriptions","organizations_url":"https://api.github.com/users/gdamjan/orgs","repos_url":"https://api.github.com/users/gdamjan/repos","events_url":"https://api.github.com/users/gdamjan/events{/privacy}","received_events_url":"https://api.github.com/users/gdamjan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2014-05-03T13:25:25Z","updated_at":"2017-01-01T07:44:39Z","closed_at":"2014-09-26T19:38:50Z","body":"hackney:request(get, <<\"http://httpbin.org/redirect/1\">>, [{<<\"User-Agent\">>, <<\"Mozilla/5.0 (erlang-irc-bot)\">>}], <<>>, [{follow_redirect, true}]).  \n*\\* exception exit: badarg\n     in function  gen_tcp:connect/4 (gen_tcp.erl, line 141)\n     in call from hackney_connect:do_connect/4 (src/hackney_connect.erl, line 214)\n     in call from hackney:send_request/2 (src/hackney.erl, line 346)\n     in call from hackney:redirect/2 (src/hackney.erl, line 778)\n     in call from hackney:maybe_redirect/3 (src/hackney.erl, line 712)\n     in call from hackney:send_request/2 (src/hackney.erl, line 354)\n"},"comment":{"url":"https://api.github.com/repos/benoitc/hackney/issues/comments/269894904","html_url":"https://github.com/benoitc/hackney/issues/105#issuecomment-269894904","issue_url":"https://api.github.com/repos/benoitc/hackney/issues/105","id":269894904,"user":{"login":"mwean","id":732173,"avatar_url":"https://avatars.githubusercontent.com/u/732173?v=3","gravatar_id":"","url":"https://api.github.com/users/mwean","html_url":"https://github.com/mwean","followers_url":"https://api.github.com/users/mwean/followers","following_url":"https://api.github.com/users/mwean/following{/other_user}","gists_url":"https://api.github.com/users/mwean/gists{/gist_id}","starred_url":"https://api.github.com/users/mwean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwean/subscriptions","organizations_url":"https://api.github.com/users/mwean/orgs","repos_url":"https://api.github.com/users/mwean/repos","events_url":"https://api.github.com/users/mwean/events{/privacy}","received_events_url":"https://api.github.com/users/mwean/received_events","type":"User","site_admin":false},"created_at":"2017-01-01T07:44:39Z","updated_at":"2017-01-01T07:44:39Z","body":"@benoitc did you get a chance to fix the issue with redirects to Amazon URLs failing if the initial request had an Authorization header? I couldn't find any option to modify the behavior."}}
{"actor":{"display_login":"mwean"}}