{"action":"opened","number":93,"pull_request":{"url":"https://api.github.com/repos/seanmonstar/reqwest/pulls/93","id":120096333,"html_url":"https://github.com/seanmonstar/reqwest/pull/93","diff_url":"https://github.com/seanmonstar/reqwest/pull/93.diff","patch_url":"https://github.com/seanmonstar/reqwest/pull/93.patch","issue_url":"https://api.github.com/repos/seanmonstar/reqwest/issues/93","number":93,"state":"open","locked":false,"title":"Filter certain headers when redirecting between different hosts","user":{"login":"steverob","id":1220480,"avatar_url":"https://avatars1.githubusercontent.com/u/1220480?v=3","gravatar_id":"","url":"https://api.github.com/users/steverob","html_url":"https://github.com/steverob","followers_url":"https://api.github.com/users/steverob/followers","following_url":"https://api.github.com/users/steverob/following{/other_user}","gists_url":"https://api.github.com/users/steverob/gists{/gist_id}","starred_url":"https://api.github.com/users/steverob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverob/subscriptions","organizations_url":"https://api.github.com/users/steverob/orgs","repos_url":"https://api.github.com/users/steverob/repos","events_url":"https://api.github.com/users/steverob/events{/privacy}","received_events_url":"https://api.github.com/users/steverob/received_events","type":"User","site_admin":false},"body":"This addresses #10 \r\n\r\n@seanmonstar I am unsure how to write unit tests for this. Would love some pointers :)","created_at":"2017-05-11T12:41:01Z","updated_at":"2017-05-11T12:41:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/seanmonstar/reqwest/pulls/93/commits","review_comments_url":"https://api.github.com/repos/seanmonstar/reqwest/pulls/93/comments","review_comment_url":"https://api.github.com/repos/seanmonstar/reqwest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seanmonstar/reqwest/issues/93/comments","statuses_url":"https://api.github.com/repos/seanmonstar/reqwest/statuses/dd52ab9e4f764a95f9d391904b21a62344692a89","head":{"label":"steverob:master","ref":"master","sha":"dd52ab9e4f764a95f9d391904b21a62344692a89","user":{"login":"steverob","id":1220480,"avatar_url":"https://avatars1.githubusercontent.com/u/1220480?v=3","gravatar_id":"","url":"https://api.github.com/users/steverob","html_url":"https://github.com/steverob","followers_url":"https://api.github.com/users/steverob/followers","following_url":"https://api.github.com/users/steverob/following{/other_user}","gists_url":"https://api.github.com/users/steverob/gists{/gist_id}","starred_url":"https://api.github.com/users/steverob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverob/subscriptions","organizations_url":"https://api.github.com/users/steverob/orgs","repos_url":"https://api.github.com/users/steverob/repos","events_url":"https://api.github.com/users/steverob/events{/privacy}","received_events_url":"https://api.github.com/users/steverob/received_events","type":"User","site_admin":false},"repo":{"id":90977527,"name":"reqwest","full_name":"steverob/reqwest","owner":{"login":"steverob","id":1220480,"avatar_url":"https://avatars1.githubusercontent.com/u/1220480?v=3","gravatar_id":"","url":"https://api.github.com/users/steverob","html_url":"https://github.com/steverob","followers_url":"https://api.github.com/users/steverob/followers","following_url":"https://api.github.com/users/steverob/following{/other_user}","gists_url":"https://api.github.com/users/steverob/gists{/gist_id}","starred_url":"https://api.github.com/users/steverob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverob/subscriptions","organizations_url":"https://api.github.com/users/steverob/orgs","repos_url":"https://api.github.com/users/steverob/repos","events_url":"https://api.github.com/users/steverob/events{/privacy}","received_events_url":"https://api.github.com/users/steverob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steverob/reqwest","description":null,"fork":true,"url":"https://api.github.com/repos/steverob/reqwest","forks_url":"https://api.github.com/repos/steverob/reqwest/forks","keys_url":"https://api.github.com/repos/steverob/reqwest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steverob/reqwest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steverob/reqwest/teams","hooks_url":"https://api.github.com/repos/steverob/reqwest/hooks","issue_events_url":"https://api.github.com/repos/steverob/reqwest/issues/events{/number}","events_url":"https://api.github.com/repos/steverob/reqwest/events","assignees_url":"https://api.github.com/repos/steverob/reqwest/assignees{/user}","branches_url":"https://api.github.com/repos/steverob/reqwest/branches{/branch}","tags_url":"https://api.github.com/repos/steverob/reqwest/tags","blobs_url":"https://api.github.com/repos/steverob/reqwest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steverob/reqwest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steverob/reqwest/git/refs{/sha}","trees_url":"https://api.github.com/repos/steverob/reqwest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steverob/reqwest/statuses/{sha}","languages_url":"https://api.github.com/repos/steverob/reqwest/languages","stargazers_url":"https://api.github.com/repos/steverob/reqwest/stargazers","contributors_url":"https://api.github.com/repos/steverob/reqwest/contributors","subscribers_url":"https://api.github.com/repos/steverob/reqwest/subscribers","subscription_url":"https://api.github.com/repos/steverob/reqwest/subscription","commits_url":"https://api.github.com/repos/steverob/reqwest/commits{/sha}","git_commits_url":"https://api.github.com/repos/steverob/reqwest/git/commits{/sha}","comments_url":"https://api.github.com/repos/steverob/reqwest/comments{/number}","issue_comment_url":"https://api.github.com/repos/steverob/reqwest/issues/comments{/number}","contents_url":"https://api.github.com/repos/steverob/reqwest/contents/{+path}","compare_url":"https://api.github.com/repos/steverob/reqwest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steverob/reqwest/merges","archive_url":"https://api.github.com/repos/steverob/reqwest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steverob/reqwest/downloads","issues_url":"https://api.github.com/repos/steverob/reqwest/issues{/number}","pulls_url":"https://api.github.com/repos/steverob/reqwest/pulls{/number}","milestones_url":"https://api.github.com/repos/steverob/reqwest/milestones{/number}","notifications_url":"https://api.github.com/repos/steverob/reqwest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steverob/reqwest/labels{/name}","releases_url":"https://api.github.com/repos/steverob/reqwest/releases{/id}","deployments_url":"https://api.github.com/repos/steverob/reqwest/deployments","created_at":"2017-05-11T12:38:05Z","updated_at":"2017-05-11T12:38:07Z","pushed_at":"2017-05-11T12:39:50Z","git_url":"git://github.com/steverob/reqwest.git","ssh_url":"git@github.com:steverob/reqwest.git","clone_url":"https://github.com/steverob/reqwest.git","svn_url":"https://github.com/steverob/reqwest","homepage":"https://docs.rs/reqwest","size":108,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":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":"seanmonstar:master","ref":"master","sha":"6d87f2743e00e18e22ada5389294cd6837bfe45b","user":{"login":"seanmonstar","id":51479,"avatar_url":"https://avatars2.githubusercontent.com/u/51479?v=3","gravatar_id":"","url":"https://api.github.com/users/seanmonstar","html_url":"https://github.com/seanmonstar","followers_url":"https://api.github.com/users/seanmonstar/followers","following_url":"https://api.github.com/users/seanmonstar/following{/other_user}","gists_url":"https://api.github.com/users/seanmonstar/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmonstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmonstar/subscriptions","organizations_url":"https://api.github.com/users/seanmonstar/orgs","repos_url":"https://api.github.com/users/seanmonstar/repos","events_url":"https://api.github.com/users/seanmonstar/events{/privacy}","received_events_url":"https://api.github.com/users/seanmonstar/received_events","type":"User","site_admin":false},"repo":{"id":62350380,"name":"reqwest","full_name":"seanmonstar/reqwest","owner":{"login":"seanmonstar","id":51479,"avatar_url":"https://avatars2.githubusercontent.com/u/51479?v=3","gravatar_id":"","url":"https://api.github.com/users/seanmonstar","html_url":"https://github.com/seanmonstar","followers_url":"https://api.github.com/users/seanmonstar/followers","following_url":"https://api.github.com/users/seanmonstar/following{/other_user}","gists_url":"https://api.github.com/users/seanmonstar/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmonstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmonstar/subscriptions","organizations_url":"https://api.github.com/users/seanmonstar/orgs","repos_url":"https://api.github.com/users/seanmonstar/repos","events_url":"https://api.github.com/users/seanmonstar/events{/privacy}","received_events_url":"https://api.github.com/users/seanmonstar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanmonstar/reqwest","description":null,"fork":false,"url":"https://api.github.com/repos/seanmonstar/reqwest","forks_url":"https://api.github.com/repos/seanmonstar/reqwest/forks","keys_url":"https://api.github.com/repos/seanmonstar/reqwest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanmonstar/reqwest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanmonstar/reqwest/teams","hooks_url":"https://api.github.com/repos/seanmonstar/reqwest/hooks","issue_events_url":"https://api.github.com/repos/seanmonstar/reqwest/issues/events{/number}","events_url":"https://api.github.com/repos/seanmonstar/reqwest/events","assignees_url":"https://api.github.com/repos/seanmonstar/reqwest/assignees{/user}","branches_url":"https://api.github.com/repos/seanmonstar/reqwest/branches{/branch}","tags_url":"https://api.github.com/repos/seanmonstar/reqwest/tags","blobs_url":"https://api.github.com/repos/seanmonstar/reqwest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanmonstar/reqwest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanmonstar/reqwest/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanmonstar/reqwest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanmonstar/reqwest/statuses/{sha}","languages_url":"https://api.github.com/repos/seanmonstar/reqwest/languages","stargazers_url":"https://api.github.com/repos/seanmonstar/reqwest/stargazers","contributors_url":"https://api.github.com/repos/seanmonstar/reqwest/contributors","subscribers_url":"https://api.github.com/repos/seanmonstar/reqwest/subscribers","subscription_url":"https://api.github.com/repos/seanmonstar/reqwest/subscription","commits_url":"https://api.github.com/repos/seanmonstar/reqwest/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanmonstar/reqwest/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanmonstar/reqwest/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanmonstar/reqwest/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanmonstar/reqwest/contents/{+path}","compare_url":"https://api.github.com/repos/seanmonstar/reqwest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanmonstar/reqwest/merges","archive_url":"https://api.github.com/repos/seanmonstar/reqwest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanmonstar/reqwest/downloads","issues_url":"https://api.github.com/repos/seanmonstar/reqwest/issues{/number}","pulls_url":"https://api.github.com/repos/seanmonstar/reqwest/pulls{/number}","milestones_url":"https://api.github.com/repos/seanmonstar/reqwest/milestones{/number}","notifications_url":"https://api.github.com/repos/seanmonstar/reqwest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanmonstar/reqwest/labels{/name}","releases_url":"https://api.github.com/repos/seanmonstar/reqwest/releases{/id}","deployments_url":"https://api.github.com/repos/seanmonstar/reqwest/deployments","created_at":"2016-07-01T00:23:08Z","updated_at":"2017-05-09T00:21:39Z","pushed_at":"2017-05-09T22:36:42Z","git_url":"git://github.com/seanmonstar/reqwest.git","ssh_url":"git@github.com:seanmonstar/reqwest.git","clone_url":"https://github.com/seanmonstar/reqwest.git","svn_url":"https://github.com/seanmonstar/reqwest","homepage":"https://docs.rs/reqwest","size":108,"stargazers_count":225,"watchers_count":225,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":20,"forks":38,"open_issues":20,"watchers":225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seanmonstar/reqwest/pulls/93"},"html":{"href":"https://github.com/seanmonstar/reqwest/pull/93"},"issue":{"href":"https://api.github.com/repos/seanmonstar/reqwest/issues/93"},"comments":{"href":"https://api.github.com/repos/seanmonstar/reqwest/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/seanmonstar/reqwest/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/seanmonstar/reqwest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seanmonstar/reqwest/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/seanmonstar/reqwest/statuses/dd52ab9e4f764a95f9d391904b21a62344692a89"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":9,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"steverob"}}