{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/3","id":74314730,"html_url":"https://github.com/pauloancheta/redir-ex/pull/3","diff_url":"https://github.com/pauloancheta/redir-ex/pull/3.diff","patch_url":"https://github.com/pauloancheta/redir-ex/pull/3.patch","issue_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues/3","number":3,"state":"closed","locked":false,"title":"location without scheme and host","user":{"login":"pauloancheta","id":9355943,"avatar_url":"https://avatars.githubusercontent.com/u/9355943?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloancheta","html_url":"https://github.com/pauloancheta","followers_url":"https://api.github.com/users/pauloancheta/followers","following_url":"https://api.github.com/users/pauloancheta/following{/other_user}","gists_url":"https://api.github.com/users/pauloancheta/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloancheta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloancheta/subscriptions","organizations_url":"https://api.github.com/users/pauloancheta/orgs","repos_url":"https://api.github.com/users/pauloancheta/repos","events_url":"https://api.github.com/users/pauloancheta/events{/privacy}","received_events_url":"https://api.github.com/users/pauloancheta/received_events","type":"User","site_admin":false},"body":"It seems like some of the url on a `location` header does not have a scheme or host.\r\n\r\nIf given a url of `http://paulo.com/this-is-a-301` with a header of `/redirect-to-this`, we then should redirect them to `http://paulo.com/redirect-to-this`","created_at":"2016-06-17T22:39:16Z","updated_at":"2016-06-17T22:48:23Z","closed_at":"2016-06-17T22:48:23Z","merged_at":"2016-06-17T22:48:23Z","merge_commit_sha":"13ee36f31f7760d006840047d431d4305fab6b66","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/3/commits","review_comments_url":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/3/comments","review_comment_url":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues/3/comments","statuses_url":"https://api.github.com/repos/pauloancheta/redir-ex/statuses/b9ca337f1a397e08dfd84348a8d1bc7f6d5e3b94","head":{"label":"pauloancheta:feature/extract-url-from-301","ref":"feature/extract-url-from-301","sha":"b9ca337f1a397e08dfd84348a8d1bc7f6d5e3b94","user":{"login":"pauloancheta","id":9355943,"avatar_url":"https://avatars.githubusercontent.com/u/9355943?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloancheta","html_url":"https://github.com/pauloancheta","followers_url":"https://api.github.com/users/pauloancheta/followers","following_url":"https://api.github.com/users/pauloancheta/following{/other_user}","gists_url":"https://api.github.com/users/pauloancheta/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloancheta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloancheta/subscriptions","organizations_url":"https://api.github.com/users/pauloancheta/orgs","repos_url":"https://api.github.com/users/pauloancheta/repos","events_url":"https://api.github.com/users/pauloancheta/events{/privacy}","received_events_url":"https://api.github.com/users/pauloancheta/received_events","type":"User","site_admin":false},"repo":{"id":55802696,"name":"redir-ex","full_name":"pauloancheta/redir-ex","owner":{"login":"pauloancheta","id":9355943,"avatar_url":"https://avatars.githubusercontent.com/u/9355943?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloancheta","html_url":"https://github.com/pauloancheta","followers_url":"https://api.github.com/users/pauloancheta/followers","following_url":"https://api.github.com/users/pauloancheta/following{/other_user}","gists_url":"https://api.github.com/users/pauloancheta/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloancheta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloancheta/subscriptions","organizations_url":"https://api.github.com/users/pauloancheta/orgs","repos_url":"https://api.github.com/users/pauloancheta/repos","events_url":"https://api.github.com/users/pauloancheta/events{/privacy}","received_events_url":"https://api.github.com/users/pauloancheta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pauloancheta/redir-ex","description":"Get the body of the website by following all the redirects","fork":false,"url":"https://api.github.com/repos/pauloancheta/redir-ex","forks_url":"https://api.github.com/repos/pauloancheta/redir-ex/forks","keys_url":"https://api.github.com/repos/pauloancheta/redir-ex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pauloancheta/redir-ex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pauloancheta/redir-ex/teams","hooks_url":"https://api.github.com/repos/pauloancheta/redir-ex/hooks","issue_events_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues/events{/number}","events_url":"https://api.github.com/repos/pauloancheta/redir-ex/events","assignees_url":"https://api.github.com/repos/pauloancheta/redir-ex/assignees{/user}","branches_url":"https://api.github.com/repos/pauloancheta/redir-ex/branches{/branch}","tags_url":"https://api.github.com/repos/pauloancheta/redir-ex/tags","blobs_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/refs{/sha}","trees_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pauloancheta/redir-ex/statuses/{sha}","languages_url":"https://api.github.com/repos/pauloancheta/redir-ex/languages","stargazers_url":"https://api.github.com/repos/pauloancheta/redir-ex/stargazers","contributors_url":"https://api.github.com/repos/pauloancheta/redir-ex/contributors","subscribers_url":"https://api.github.com/repos/pauloancheta/redir-ex/subscribers","subscription_url":"https://api.github.com/repos/pauloancheta/redir-ex/subscription","commits_url":"https://api.github.com/repos/pauloancheta/redir-ex/commits{/sha}","git_commits_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/commits{/sha}","comments_url":"https://api.github.com/repos/pauloancheta/redir-ex/comments{/number}","issue_comment_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues/comments{/number}","contents_url":"https://api.github.com/repos/pauloancheta/redir-ex/contents/{+path}","compare_url":"https://api.github.com/repos/pauloancheta/redir-ex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pauloancheta/redir-ex/merges","archive_url":"https://api.github.com/repos/pauloancheta/redir-ex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pauloancheta/redir-ex/downloads","issues_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues{/number}","pulls_url":"https://api.github.com/repos/pauloancheta/redir-ex/pulls{/number}","milestones_url":"https://api.github.com/repos/pauloancheta/redir-ex/milestones{/number}","notifications_url":"https://api.github.com/repos/pauloancheta/redir-ex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pauloancheta/redir-ex/labels{/name}","releases_url":"https://api.github.com/repos/pauloancheta/redir-ex/releases{/id}","deployments_url":"https://api.github.com/repos/pauloancheta/redir-ex/deployments","created_at":"2016-04-08T18:58:51Z","updated_at":"2016-04-08T18:59:17Z","pushed_at":"2016-06-17T22:48:23Z","git_url":"git://github.com/pauloancheta/redir-ex.git","ssh_url":"git@github.com:pauloancheta/redir-ex.git","clone_url":"https://github.com/pauloancheta/redir-ex.git","svn_url":"https://github.com/pauloancheta/redir-ex","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pauloancheta:master","ref":"master","sha":"8ad4e3bd2eb99e2e7fe3e08f1ab04144d3149eb0","user":{"login":"pauloancheta","id":9355943,"avatar_url":"https://avatars.githubusercontent.com/u/9355943?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloancheta","html_url":"https://github.com/pauloancheta","followers_url":"https://api.github.com/users/pauloancheta/followers","following_url":"https://api.github.com/users/pauloancheta/following{/other_user}","gists_url":"https://api.github.com/users/pauloancheta/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloancheta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloancheta/subscriptions","organizations_url":"https://api.github.com/users/pauloancheta/orgs","repos_url":"https://api.github.com/users/pauloancheta/repos","events_url":"https://api.github.com/users/pauloancheta/events{/privacy}","received_events_url":"https://api.github.com/users/pauloancheta/received_events","type":"User","site_admin":false},"repo":{"id":55802696,"name":"redir-ex","full_name":"pauloancheta/redir-ex","owner":{"login":"pauloancheta","id":9355943,"avatar_url":"https://avatars.githubusercontent.com/u/9355943?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloancheta","html_url":"https://github.com/pauloancheta","followers_url":"https://api.github.com/users/pauloancheta/followers","following_url":"https://api.github.com/users/pauloancheta/following{/other_user}","gists_url":"https://api.github.com/users/pauloancheta/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloancheta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloancheta/subscriptions","organizations_url":"https://api.github.com/users/pauloancheta/orgs","repos_url":"https://api.github.com/users/pauloancheta/repos","events_url":"https://api.github.com/users/pauloancheta/events{/privacy}","received_events_url":"https://api.github.com/users/pauloancheta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pauloancheta/redir-ex","description":"Get the body of the website by following all the redirects","fork":false,"url":"https://api.github.com/repos/pauloancheta/redir-ex","forks_url":"https://api.github.com/repos/pauloancheta/redir-ex/forks","keys_url":"https://api.github.com/repos/pauloancheta/redir-ex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pauloancheta/redir-ex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pauloancheta/redir-ex/teams","hooks_url":"https://api.github.com/repos/pauloancheta/redir-ex/hooks","issue_events_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues/events{/number}","events_url":"https://api.github.com/repos/pauloancheta/redir-ex/events","assignees_url":"https://api.github.com/repos/pauloancheta/redir-ex/assignees{/user}","branches_url":"https://api.github.com/repos/pauloancheta/redir-ex/branches{/branch}","tags_url":"https://api.github.com/repos/pauloancheta/redir-ex/tags","blobs_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/refs{/sha}","trees_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pauloancheta/redir-ex/statuses/{sha}","languages_url":"https://api.github.com/repos/pauloancheta/redir-ex/languages","stargazers_url":"https://api.github.com/repos/pauloancheta/redir-ex/stargazers","contributors_url":"https://api.github.com/repos/pauloancheta/redir-ex/contributors","subscribers_url":"https://api.github.com/repos/pauloancheta/redir-ex/subscribers","subscription_url":"https://api.github.com/repos/pauloancheta/redir-ex/subscription","commits_url":"https://api.github.com/repos/pauloancheta/redir-ex/commits{/sha}","git_commits_url":"https://api.github.com/repos/pauloancheta/redir-ex/git/commits{/sha}","comments_url":"https://api.github.com/repos/pauloancheta/redir-ex/comments{/number}","issue_comment_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues/comments{/number}","contents_url":"https://api.github.com/repos/pauloancheta/redir-ex/contents/{+path}","compare_url":"https://api.github.com/repos/pauloancheta/redir-ex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pauloancheta/redir-ex/merges","archive_url":"https://api.github.com/repos/pauloancheta/redir-ex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pauloancheta/redir-ex/downloads","issues_url":"https://api.github.com/repos/pauloancheta/redir-ex/issues{/number}","pulls_url":"https://api.github.com/repos/pauloancheta/redir-ex/pulls{/number}","milestones_url":"https://api.github.com/repos/pauloancheta/redir-ex/milestones{/number}","notifications_url":"https://api.github.com/repos/pauloancheta/redir-ex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pauloancheta/redir-ex/labels{/name}","releases_url":"https://api.github.com/repos/pauloancheta/redir-ex/releases{/id}","deployments_url":"https://api.github.com/repos/pauloancheta/redir-ex/deployments","created_at":"2016-04-08T18:58:51Z","updated_at":"2016-04-08T18:59:17Z","pushed_at":"2016-06-17T22:48:23Z","git_url":"git://github.com/pauloancheta/redir-ex.git","ssh_url":"git@github.com:pauloancheta/redir-ex.git","clone_url":"https://github.com/pauloancheta/redir-ex.git","svn_url":"https://github.com/pauloancheta/redir-ex","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/3"},"html":{"href":"https://github.com/pauloancheta/redir-ex/pull/3"},"issue":{"href":"https://api.github.com/repos/pauloancheta/redir-ex/issues/3"},"comments":{"href":"https://api.github.com/repos/pauloancheta/redir-ex/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pauloancheta/redir-ex/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/pauloancheta/redir-ex/statuses/b9ca337f1a397e08dfd84348a8d1bc7f6d5e3b94"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pauloancheta","id":9355943,"avatar_url":"https://avatars.githubusercontent.com/u/9355943?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloancheta","html_url":"https://github.com/pauloancheta","followers_url":"https://api.github.com/users/pauloancheta/followers","following_url":"https://api.github.com/users/pauloancheta/following{/other_user}","gists_url":"https://api.github.com/users/pauloancheta/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloancheta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloancheta/subscriptions","organizations_url":"https://api.github.com/users/pauloancheta/orgs","repos_url":"https://api.github.com/users/pauloancheta/repos","events_url":"https://api.github.com/users/pauloancheta/events{/privacy}","received_events_url":"https://api.github.com/users/pauloancheta/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":25,"deletions":13,"changed_files":3}}
{"actor":{"display_login":"pauloancheta"}}