{"action":"opened","number":1046,"pull_request":{"url":"https://api.github.com/repos/react-native-community/react-native-video/pulls/1046","id":192113969,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMTEzOTY5","html_url":"https://github.com/react-native-community/react-native-video/pull/1046","diff_url":"https://github.com/react-native-community/react-native-video/pull/1046.diff","patch_url":"https://github.com/react-native-community/react-native-video/pull/1046.patch","issue_url":"https://api.github.com/repos/react-native-community/react-native-video/issues/1046","number":1046,"state":"open","locked":false,"title":"Add headers back to android remote assets","user":{"login":"djw27","id":4228432,"node_id":"MDQ6VXNlcjQyMjg0MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/4228432?v=4","gravatar_id":"","url":"https://api.github.com/users/djw27","html_url":"https://github.com/djw27","followers_url":"https://api.github.com/users/djw27/followers","following_url":"https://api.github.com/users/djw27/following{/other_user}","gists_url":"https://api.github.com/users/djw27/gists{/gist_id}","starred_url":"https://api.github.com/users/djw27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djw27/subscriptions","organizations_url":"https://api.github.com/users/djw27/orgs","repos_url":"https://api.github.com/users/djw27/repos","events_url":"https://api.github.com/users/djw27/events{/privacy}","received_events_url":"https://api.github.com/users/djw27/received_events","type":"User","site_admin":false},"body":"In the following commit, headers were removed from the source in Android, meaning that cookies are not set with the data source on Android (non-exoplayer).\r\n\r\nThe commit also changed the user of `parsedUrl` for `uriString` which is less safe.\r\n\r\nI'm not sure why this commit was originally accepted! \r\n\r\nFor context, our use case is accessing a HLS video on CloudFront which uses signed parameters to keep the assets private. We're required to set the signing parameters as cookies so that the HLS stream plays.","created_at":"2018-06-01T18:48:18Z","updated_at":"2018-06-01T18:48:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/react-native-community/react-native-video/pulls/1046/commits","review_comments_url":"https://api.github.com/repos/react-native-community/react-native-video/pulls/1046/comments","review_comment_url":"https://api.github.com/repos/react-native-community/react-native-video/pulls/comments{/number}","comments_url":"https://api.github.com/repos/react-native-community/react-native-video/issues/1046/comments","statuses_url":"https://api.github.com/repos/react-native-community/react-native-video/statuses/a3085f2e80215543a4029d132a0b0c994131aacc","head":{"label":"workshoptech:master","ref":"master","sha":"a3085f2e80215543a4029d132a0b0c994131aacc","user":{"login":"workshoptech","id":33495772,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDk1Nzcy","avatar_url":"https://avatars2.githubusercontent.com/u/33495772?v=4","gravatar_id":"","url":"https://api.github.com/users/workshoptech","html_url":"https://github.com/workshoptech","followers_url":"https://api.github.com/users/workshoptech/followers","following_url":"https://api.github.com/users/workshoptech/following{/other_user}","gists_url":"https://api.github.com/users/workshoptech/gists{/gist_id}","starred_url":"https://api.github.com/users/workshoptech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workshoptech/subscriptions","organizations_url":"https://api.github.com/users/workshoptech/orgs","repos_url":"https://api.github.com/users/workshoptech/repos","events_url":"https://api.github.com/users/workshoptech/events{/privacy}","received_events_url":"https://api.github.com/users/workshoptech/received_events","type":"Organization","site_admin":false},"repo":{"id":135752059,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU3NTIwNTk=","name":"react-native-video","full_name":"workshoptech/react-native-video","owner":{"login":"workshoptech","id":33495772,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDk1Nzcy","avatar_url":"https://avatars2.githubusercontent.com/u/33495772?v=4","gravatar_id":"","url":"https://api.github.com/users/workshoptech","html_url":"https://github.com/workshoptech","followers_url":"https://api.github.com/users/workshoptech/followers","following_url":"https://api.github.com/users/workshoptech/following{/other_user}","gists_url":"https://api.github.com/users/workshoptech/gists{/gist_id}","starred_url":"https://api.github.com/users/workshoptech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workshoptech/subscriptions","organizations_url":"https://api.github.com/users/workshoptech/orgs","repos_url":"https://api.github.com/users/workshoptech/repos","events_url":"https://api.github.com/users/workshoptech/events{/privacy}","received_events_url":"https://api.github.com/users/workshoptech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/workshoptech/react-native-video","description":"A <Video /> component for react-native","fork":true,"url":"https://api.github.com/repos/workshoptech/react-native-video","forks_url":"https://api.github.com/repos/workshoptech/react-native-video/forks","keys_url":"https://api.github.com/repos/workshoptech/react-native-video/keys{/key_id}","collaborators_url":"https://api.github.com/repos/workshoptech/react-native-video/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/workshoptech/react-native-video/teams","hooks_url":"https://api.github.com/repos/workshoptech/react-native-video/hooks","issue_events_url":"https://api.github.com/repos/workshoptech/react-native-video/issues/events{/number}","events_url":"https://api.github.com/repos/workshoptech/react-native-video/events","assignees_url":"https://api.github.com/repos/workshoptech/react-native-video/assignees{/user}","branches_url":"https://api.github.com/repos/workshoptech/react-native-video/branches{/branch}","tags_url":"https://api.github.com/repos/workshoptech/react-native-video/tags","blobs_url":"https://api.github.com/repos/workshoptech/react-native-video/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/workshoptech/react-native-video/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/workshoptech/react-native-video/git/refs{/sha}","trees_url":"https://api.github.com/repos/workshoptech/react-native-video/git/trees{/sha}","statuses_url":"https://api.github.com/repos/workshoptech/react-native-video/statuses/{sha}","languages_url":"https://api.github.com/repos/workshoptech/react-native-video/languages","stargazers_url":"https://api.github.com/repos/workshoptech/react-native-video/stargazers","contributors_url":"https://api.github.com/repos/workshoptech/react-native-video/contributors","subscribers_url":"https://api.github.com/repos/workshoptech/react-native-video/subscribers","subscription_url":"https://api.github.com/repos/workshoptech/react-native-video/subscription","commits_url":"https://api.github.com/repos/workshoptech/react-native-video/commits{/sha}","git_commits_url":"https://api.github.com/repos/workshoptech/react-native-video/git/commits{/sha}","comments_url":"https://api.github.com/repos/workshoptech/react-native-video/comments{/number}","issue_comment_url":"https://api.github.com/repos/workshoptech/react-native-video/issues/comments{/number}","contents_url":"https://api.github.com/repos/workshoptech/react-native-video/contents/{+path}","compare_url":"https://api.github.com/repos/workshoptech/react-native-video/compare/{base}...{head}","merges_url":"https://api.github.com/repos/workshoptech/react-native-video/merges","archive_url":"https://api.github.com/repos/workshoptech/react-native-video/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/workshoptech/react-native-video/downloads","issues_url":"https://api.github.com/repos/workshoptech/react-native-video/issues{/number}","pulls_url":"https://api.github.com/repos/workshoptech/react-native-video/pulls{/number}","milestones_url":"https://api.github.com/repos/workshoptech/react-native-video/milestones{/number}","notifications_url":"https://api.github.com/repos/workshoptech/react-native-video/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/workshoptech/react-native-video/labels{/name}","releases_url":"https://api.github.com/repos/workshoptech/react-native-video/releases{/id}","deployments_url":"https://api.github.com/repos/workshoptech/react-native-video/deployments","created_at":"2018-06-01T18:42:04Z","updated_at":"2018-06-01T18:44:15Z","pushed_at":"2018-06-01T18:44:14Z","git_url":"git://github.com/workshoptech/react-native-video.git","ssh_url":"git@github.com:workshoptech/react-native-video.git","clone_url":"https://github.com/workshoptech/react-native-video.git","svn_url":"https://github.com/workshoptech/react-native-video","homepage":"https://www.npmjs.com/package/react-native-video","size":10160,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"react-native-community:master","ref":"master","sha":"cfc7da2a31d743c7fb65b4e7a03bf2e3a58de476","user":{"login":"react-native-community","id":20269980,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjY5OTgw","avatar_url":"https://avatars1.githubusercontent.com/u/20269980?v=4","gravatar_id":"","url":"https://api.github.com/users/react-native-community","html_url":"https://github.com/react-native-community","followers_url":"https://api.github.com/users/react-native-community/followers","following_url":"https://api.github.com/users/react-native-community/following{/other_user}","gists_url":"https://api.github.com/users/react-native-community/gists{/gist_id}","starred_url":"https://api.github.com/users/react-native-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-native-community/subscriptions","organizations_url":"https://api.github.com/users/react-native-community/orgs","repos_url":"https://api.github.com/users/react-native-community/repos","events_url":"https://api.github.com/users/react-native-community/events{/privacy}","received_events_url":"https://api.github.com/users/react-native-community/received_events","type":"Organization","site_admin":false},"repo":{"id":33166041,"node_id":"MDEwOlJlcG9zaXRvcnkzMzE2NjA0MQ==","name":"react-native-video","full_name":"react-native-community/react-native-video","owner":{"login":"react-native-community","id":20269980,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMjY5OTgw","avatar_url":"https://avatars1.githubusercontent.com/u/20269980?v=4","gravatar_id":"","url":"https://api.github.com/users/react-native-community","html_url":"https://github.com/react-native-community","followers_url":"https://api.github.com/users/react-native-community/followers","following_url":"https://api.github.com/users/react-native-community/following{/other_user}","gists_url":"https://api.github.com/users/react-native-community/gists{/gist_id}","starred_url":"https://api.github.com/users/react-native-community/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-native-community/subscriptions","organizations_url":"https://api.github.com/users/react-native-community/orgs","repos_url":"https://api.github.com/users/react-native-community/repos","events_url":"https://api.github.com/users/react-native-community/events{/privacy}","received_events_url":"https://api.github.com/users/react-native-community/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/react-native-community/react-native-video","description":"A <Video /> component for react-native","fork":false,"url":"https://api.github.com/repos/react-native-community/react-native-video","forks_url":"https://api.github.com/repos/react-native-community/react-native-video/forks","keys_url":"https://api.github.com/repos/react-native-community/react-native-video/keys{/key_id}","collaborators_url":"https://api.github.com/repos/react-native-community/react-native-video/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/react-native-community/react-native-video/teams","hooks_url":"https://api.github.com/repos/react-native-community/react-native-video/hooks","issue_events_url":"https://api.github.com/repos/react-native-community/react-native-video/issues/events{/number}","events_url":"https://api.github.com/repos/react-native-community/react-native-video/events","assignees_url":"https://api.github.com/repos/react-native-community/react-native-video/assignees{/user}","branches_url":"https://api.github.com/repos/react-native-community/react-native-video/branches{/branch}","tags_url":"https://api.github.com/repos/react-native-community/react-native-video/tags","blobs_url":"https://api.github.com/repos/react-native-community/react-native-video/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/react-native-community/react-native-video/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/react-native-community/react-native-video/git/refs{/sha}","trees_url":"https://api.github.com/repos/react-native-community/react-native-video/git/trees{/sha}","statuses_url":"https://api.github.com/repos/react-native-community/react-native-video/statuses/{sha}","languages_url":"https://api.github.com/repos/react-native-community/react-native-video/languages","stargazers_url":"https://api.github.com/repos/react-native-community/react-native-video/stargazers","contributors_url":"https://api.github.com/repos/react-native-community/react-native-video/contributors","subscribers_url":"https://api.github.com/repos/react-native-community/react-native-video/subscribers","subscription_url":"https://api.github.com/repos/react-native-community/react-native-video/subscription","commits_url":"https://api.github.com/repos/react-native-community/react-native-video/commits{/sha}","git_commits_url":"https://api.github.com/repos/react-native-community/react-native-video/git/commits{/sha}","comments_url":"https://api.github.com/repos/react-native-community/react-native-video/comments{/number}","issue_comment_url":"https://api.github.com/repos/react-native-community/react-native-video/issues/comments{/number}","contents_url":"https://api.github.com/repos/react-native-community/react-native-video/contents/{+path}","compare_url":"https://api.github.com/repos/react-native-community/react-native-video/compare/{base}...{head}","merges_url":"https://api.github.com/repos/react-native-community/react-native-video/merges","archive_url":"https://api.github.com/repos/react-native-community/react-native-video/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/react-native-community/react-native-video/downloads","issues_url":"https://api.github.com/repos/react-native-community/react-native-video/issues{/number}","pulls_url":"https://api.github.com/repos/react-native-community/react-native-video/pulls{/number}","milestones_url":"https://api.github.com/repos/react-native-community/react-native-video/milestones{/number}","notifications_url":"https://api.github.com/repos/react-native-community/react-native-video/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/react-native-community/react-native-video/labels{/name}","releases_url":"https://api.github.com/repos/react-native-community/react-native-video/releases{/id}","deployments_url":"https://api.github.com/repos/react-native-community/react-native-video/deployments","created_at":"2015-03-31T05:08:38Z","updated_at":"2018-06-01T18:41:22Z","pushed_at":"2018-06-01T08:28:45Z","git_url":"git://github.com/react-native-community/react-native-video.git","ssh_url":"git@github.com:react-native-community/react-native-video.git","clone_url":"https://github.com/react-native-community/react-native-video.git","svn_url":"https://github.com/react-native-community/react-native-video","homepage":"https://www.npmjs.com/package/react-native-video","size":10160,"stargazers_count":2933,"watchers_count":2933,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":962,"mirror_url":null,"archived":false,"open_issues_count":447,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":962,"open_issues":447,"watchers":2933,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/react-native-community/react-native-video/pulls/1046"},"html":{"href":"https://github.com/react-native-community/react-native-video/pull/1046"},"issue":{"href":"https://api.github.com/repos/react-native-community/react-native-video/issues/1046"},"comments":{"href":"https://api.github.com/repos/react-native-community/react-native-video/issues/1046/comments"},"review_comments":{"href":"https://api.github.com/repos/react-native-community/react-native-video/pulls/1046/comments"},"review_comment":{"href":"https://api.github.com/repos/react-native-community/react-native-video/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/react-native-community/react-native-video/pulls/1046/commits"},"statuses":{"href":"https://api.github.com/repos/react-native-community/react-native-video/statuses/a3085f2e80215543a4029d132a0b0c994131aacc"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"djw27"}}