{"action":"closed","number":107,"pull_request":{"url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/107","id":200406455,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNDA2NDU1","html_url":"https://github.com/taskcluster/taskcluster-lib-api/pull/107","diff_url":"https://github.com/taskcluster/taskcluster-lib-api/pull/107.diff","patch_url":"https://github.com/taskcluster/taskcluster-lib-api/pull/107.patch","issue_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/107","number":107,"state":"closed","locked":false,"title":"Add Cache-Control to the Access-Control-Allow-Headers header","user":{"login":"helfi92","id":3766511,"node_id":"MDQ6VXNlcjM3NjY1MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3766511?v=4","gravatar_id":"","url":"https://api.github.com/users/helfi92","html_url":"https://github.com/helfi92","followers_url":"https://api.github.com/users/helfi92/followers","following_url":"https://api.github.com/users/helfi92/following{/other_user}","gists_url":"https://api.github.com/users/helfi92/gists{/gist_id}","starred_url":"https://api.github.com/users/helfi92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helfi92/subscriptions","organizations_url":"https://api.github.com/users/helfi92/orgs","repos_url":"https://api.github.com/users/helfi92/repos","events_url":"https://api.github.com/users/helfi92/events{/privacy}","received_events_url":"https://api.github.com/users/helfi92/received_events","type":"User","site_admin":false},"body":"The new implementation of tc-events uses an EventSource to\r\nset up communication between the client and server. Attempting\r\nto set up a connection throws an error in the console:\r\n`Request header field Cache-Control is not allowed by\r\nAccess-Control-Allow-Headers in preflight response.`.\r\n\r\nIt turns out you can't set the headers in the EventSource\r\ninterface from the client without a polyfill which is non-standard.","created_at":"2018-07-10T14:00:03Z","updated_at":"2018-07-10T14:35:31Z","closed_at":"2018-07-10T14:35:31Z","merged_at":"2018-07-10T14:35:30Z","merge_commit_sha":"95c4d803c71411ba8f0976ee32ed544b89d1f745","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/107/commits","review_comments_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/107/comments","review_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/107/comments","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/statuses/a9e525c0dbe8df545b4530b995219f9dcf520335","head":{"label":"taskcluster:cache-control","ref":"cache-control","sha":"a9e525c0dbe8df545b4530b995219f9dcf520335","user":{"login":"taskcluster","id":6257436,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTc0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6257436?v=4","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":46424385,"node_id":"MDEwOlJlcG9zaXRvcnk0NjQyNDM4NQ==","name":"taskcluster-lib-api","full_name":"taskcluster/taskcluster-lib-api","owner":{"login":"taskcluster","id":6257436,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTc0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6257436?v=4","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/taskcluster-lib-api","description":null,"fork":false,"url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api","forks_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/forks","keys_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/teams","hooks_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/events","assignees_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/tags","blobs_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/languages","stargazers_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/subscription","commits_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/merges","archive_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/downloads","issues_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/releases{/id}","deployments_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/deployments","created_at":"2015-11-18T14:34:48Z","updated_at":"2018-07-03T15:16:10Z","pushed_at":"2018-07-10T14:35:30Z","git_url":"git://github.com/taskcluster/taskcluster-lib-api.git","ssh_url":"git@github.com:taskcluster/taskcluster-lib-api.git","clone_url":"https://github.com/taskcluster/taskcluster-lib-api.git","svn_url":"https://github.com/taskcluster/taskcluster-lib-api","homepage":"https://www.npmjs.com/package/taskcluster-lib-api","size":884,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":14,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"taskcluster:master","ref":"master","sha":"f19e6555d13b2151c67e3f19a1f3a74d268f0501","user":{"login":"taskcluster","id":6257436,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTc0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6257436?v=4","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":46424385,"node_id":"MDEwOlJlcG9zaXRvcnk0NjQyNDM4NQ==","name":"taskcluster-lib-api","full_name":"taskcluster/taskcluster-lib-api","owner":{"login":"taskcluster","id":6257436,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTc0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6257436?v=4","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/taskcluster-lib-api","description":null,"fork":false,"url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api","forks_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/forks","keys_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/teams","hooks_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/events","assignees_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/tags","blobs_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/languages","stargazers_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/subscription","commits_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/merges","archive_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/downloads","issues_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/releases{/id}","deployments_url":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/deployments","created_at":"2015-11-18T14:34:48Z","updated_at":"2018-07-03T15:16:10Z","pushed_at":"2018-07-10T14:35:30Z","git_url":"git://github.com/taskcluster/taskcluster-lib-api.git","ssh_url":"git@github.com:taskcluster/taskcluster-lib-api.git","clone_url":"https://github.com/taskcluster/taskcluster-lib-api.git","svn_url":"https://github.com/taskcluster/taskcluster-lib-api","homepage":"https://www.npmjs.com/package/taskcluster-lib-api","size":884,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":14,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/107"},"html":{"href":"https://github.com/taskcluster/taskcluster-lib-api/pull/107"},"issue":{"href":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/107"},"comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/taskcluster-lib-api/statuses/a9e525c0dbe8df545b4530b995219f9dcf520335"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"helfi92","id":3766511,"node_id":"MDQ6VXNlcjM3NjY1MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3766511?v=4","gravatar_id":"","url":"https://api.github.com/users/helfi92","html_url":"https://github.com/helfi92","followers_url":"https://api.github.com/users/helfi92/followers","following_url":"https://api.github.com/users/helfi92/following{/other_user}","gists_url":"https://api.github.com/users/helfi92/gists{/gist_id}","starred_url":"https://api.github.com/users/helfi92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helfi92/subscriptions","organizations_url":"https://api.github.com/users/helfi92/orgs","repos_url":"https://api.github.com/users/helfi92/repos","events_url":"https://api.github.com/users/helfi92/events{/privacy}","received_events_url":"https://api.github.com/users/helfi92/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"helfi92"}}