GitHub PullRequestEvent at 2014-09-14 19:56:52
Repository: go-tigertonic
Actor: RossJHagan
Payload: {"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/78","id":21207586,"html_url":"https://github.com/rcrowley/go-tigertonic/pull/78","diff_url":"https://github.com/rcrowley/go-tigertonic/pull/78.diff","patch_url":"https://github.com/rcrowley/go-tigertonic/pull/78.patch","issue_url":"https://api.github.com/repos/rcrowley/go-tigertonic/issues/78","number":78,"state":"open","locked":false,"title":"Add Access-Control-Allow-Credentials","user":{"login":"RossJHagan","id":1782891,"avatar_url":"https://avatars.githubusercontent.com/u/1782891?v=2","gravatar_id":null,"url":"https://api.github.com/users/RossJHagan","html_url":"https://github.com/RossJHagan","followers_url":"https://api.github.com/users/RossJHagan/followers","following_url":"https://api.github.com/users/RossJHagan/following{/other_user}","gists_url":"https://api.github.com/users/RossJHagan/gists{/gist_id}","starred_url":"https://api.github.com/users/RossJHagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RossJHagan/subscriptions","organizations_url":"https://api.github.com/users/RossJHagan/orgs","repos_url":"https://api.github.com/users/RossJHagan/repos","events_url":"https://api.github.com/users/RossJHagan/events{/privacy}","received_events_url":"https://api.github.com/users/RossJHagan/received_events","type":"User","site_admin":false},"body":"Hopefully adequately completes the TODO.  Apologies if there's something I've missed in the spec, but it seems to have boiled down to the conditions:\r\n\r\n1. Only set if there is there a valid request origin, that matches a specific allowed origin (never set for Origin *)\r\n2. Only set the credentials header with the value 'true', otherwise just don't set the header.\r\n\r\n","created_at":"2014-09-14T19:56:52Z","updated_at":"2014-09-14T19:56:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/78/commits","review_comments_url":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/78/comments","review_comment_url":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rcrowley/go-tigertonic/issues/78/comments","statuses_url":"https://api.github.com/repos/rcrowley/go-tigertonic/statuses/0bf3bd14a0f778863825d0f1e7243f4f779d0087","head":{"label":"RossJHagan:CORSCredentials","ref":"CORSCredentials","sha":"0bf3bd14a0f778863825d0f1e7243f4f779d0087","user":{"login":"RossJHagan","id":1782891,"avatar_url":"https://avatars.githubusercontent.com/u/1782891?v=2","gravatar_id":null,"url":"https://api.github.com/users/RossJHagan","html_url":"https://github.com/RossJHagan","followers_url":"https://api.github.com/users/RossJHagan/followers","following_url":"https://api.github.com/users/RossJHagan/following{/other_user}","gists_url":"https://api.github.com/users/RossJHagan/gists{/gist_id}","starred_url":"https://api.github.com/users/RossJHagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RossJHagan/subscriptions","organizations_url":"https://api.github.com/users/RossJHagan/orgs","repos_url":"https://api.github.com/users/RossJHagan/repos","events_url":"https://api.github.com/users/RossJHagan/events{/privacy}","received_events_url":"https://api.github.com/users/RossJHagan/received_events","type":"User","site_admin":false},"repo":{"id":24025263,"name":"go-tigertonic","full_name":"RossJHagan/go-tigertonic","owner":{"login":"RossJHagan","id":1782891,"avatar_url":"https://avatars.githubusercontent.com/u/1782891?v=2","gravatar_id":null,"url":"https://api.github.com/users/RossJHagan","html_url":"https://github.com/RossJHagan","followers_url":"https://api.github.com/users/RossJHagan/followers","following_url":"https://api.github.com/users/RossJHagan/following{/other_user}","gists_url":"https://api.github.com/users/RossJHagan/gists{/gist_id}","starred_url":"https://api.github.com/users/RossJHagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RossJHagan/subscriptions","organizations_url":"https://api.github.com/users/RossJHagan/orgs","repos_url":"https://api.github.com/users/RossJHagan/repos","events_url":"https://api.github.com/users/RossJHagan/events{/privacy}","received_events_url":"https://api.github.com/users/RossJHagan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RossJHagan/go-tigertonic","description":"A Go framework for building JSON web services inspired by Dropwizard","fork":true,"url":"https://api.github.com/repos/RossJHagan/go-tigertonic","forks_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/forks","keys_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/teams","hooks_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/hooks","issue_events_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/issues/events{/number}","events_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/events","assignees_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/assignees{/user}","branches_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/branches{/branch}","tags_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/tags","blobs_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/git/refs{/sha}","trees_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/statuses/{sha}","languages_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/languages","stargazers_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/stargazers","contributors_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/contributors","subscribers_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/subscribers","subscription_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/subscription","commits_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/commits{/sha}","git_commits_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/git/commits{/sha}","comments_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/comments{/number}","issue_comment_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/issues/comments/{number}","contents_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/contents/{+path}","compare_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/merges","archive_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/downloads","issues_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/issues{/number}","pulls_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/pulls{/number}","milestones_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/milestones{/number}","notifications_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/labels{/name}","releases_url":"https://api.github.com/repos/RossJHagan/go-tigertonic/releases{/id}","created_at":"2014-09-14T15:21:23Z","updated_at":"2014-09-13T22:40:30Z","pushed_at":"2014-09-14T19:42:45Z","git_url":"git://github.com/RossJHagan/go-tigertonic.git","ssh_url":"git@github.com:RossJHagan/go-tigertonic.git","clone_url":"https://github.com/RossJHagan/go-tigertonic.git","svn_url":"https://github.com/RossJHagan/go-tigertonic","homepage":"","size":1415,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"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":"rcrowley:master","ref":"master","sha":"3e7f830e84c8c07a748e7b6596b21fc64fa0fd39","user":{"login":"rcrowley","id":11151,"avatar_url":"https://avatars.githubusercontent.com/u/11151?v=2","gravatar_id":"6eeb5509abc07f9f6c3eab38f013e739","url":"https://api.github.com/users/rcrowley","html_url":"https://github.com/rcrowley","followers_url":"https://api.github.com/users/rcrowley/followers","following_url":"https://api.github.com/users/rcrowley/following{/other_user}","gists_url":"https://api.github.com/users/rcrowley/gists{/gist_id}","starred_url":"https://api.github.com/users/rcrowley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcrowley/subscriptions","organizations_url":"https://api.github.com/users/rcrowley/orgs","repos_url":"https://api.github.com/users/rcrowley/repos","events_url":"https://api.github.com/users/rcrowley/events{/privacy}","received_events_url":"https://api.github.com/users/rcrowley/received_events","type":"User","site_admin":false},"repo":{"id":8115252,"name":"go-tigertonic","full_name":"rcrowley/go-tigertonic","owner":{"login":"rcrowley","id":11151,"avatar_url":"https://avatars.githubusercontent.com/u/11151?v=2","gravatar_id":"6eeb5509abc07f9f6c3eab38f013e739","url":"https://api.github.com/users/rcrowley","html_url":"https://github.com/rcrowley","followers_url":"https://api.github.com/users/rcrowley/followers","following_url":"https://api.github.com/users/rcrowley/following{/other_user}","gists_url":"https://api.github.com/users/rcrowley/gists{/gist_id}","starred_url":"https://api.github.com/users/rcrowley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcrowley/subscriptions","organizations_url":"https://api.github.com/users/rcrowley/orgs","repos_url":"https://api.github.com/users/rcrowley/repos","events_url":"https://api.github.com/users/rcrowley/events{/privacy}","received_events_url":"https://api.github.com/users/rcrowley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rcrowley/go-tigertonic","description":"A Go framework for building JSON web services inspired by Dropwizard","fork":false,"url":"https://api.github.com/repos/rcrowley/go-tigertonic","forks_url":"https://api.github.com/repos/rcrowley/go-tigertonic/forks","keys_url":"https://api.github.com/repos/rcrowley/go-tigertonic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rcrowley/go-tigertonic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rcrowley/go-tigertonic/teams","hooks_url":"https://api.github.com/repos/rcrowley/go-tigertonic/hooks","issue_events_url":"https://api.github.com/repos/rcrowley/go-tigertonic/issues/events{/number}","events_url":"https://api.github.com/repos/rcrowley/go-tigertonic/events","assignees_url":"https://api.github.com/repos/rcrowley/go-tigertonic/assignees{/user}","branches_url":"https://api.github.com/repos/rcrowley/go-tigertonic/branches{/branch}","tags_url":"https://api.github.com/repos/rcrowley/go-tigertonic/tags","blobs_url":"https://api.github.com/repos/rcrowley/go-tigertonic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rcrowley/go-tigertonic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rcrowley/go-tigertonic/git/refs{/sha}","trees_url":"https://api.github.com/repos/rcrowley/go-tigertonic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rcrowley/go-tigertonic/statuses/{sha}","languages_url":"https://api.github.com/repos/rcrowley/go-tigertonic/languages","stargazers_url":"https://api.github.com/repos/rcrowley/go-tigertonic/stargazers","contributors_url":"https://api.github.com/repos/rcrowley/go-tigertonic/contributors","subscribers_url":"https://api.github.com/repos/rcrowley/go-tigertonic/subscribers","subscription_url":"https://api.github.com/repos/rcrowley/go-tigertonic/subscription","commits_url":"https://api.github.com/repos/rcrowley/go-tigertonic/commits{/sha}","git_commits_url":"https://api.github.com/repos/rcrowley/go-tigertonic/git/commits{/sha}","comments_url":"https://api.github.com/repos/rcrowley/go-tigertonic/comments{/number}","issue_comment_url":"https://api.github.com/repos/rcrowley/go-tigertonic/issues/comments/{number}","contents_url":"https://api.github.com/repos/rcrowley/go-tigertonic/contents/{+path}","compare_url":"https://api.github.com/repos/rcrowley/go-tigertonic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rcrowley/go-tigertonic/merges","archive_url":"https://api.github.com/repos/rcrowley/go-tigertonic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rcrowley/go-tigertonic/downloads","issues_url":"https://api.github.com/repos/rcrowley/go-tigertonic/issues{/number}","pulls_url":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls{/number}","milestones_url":"https://api.github.com/repos/rcrowley/go-tigertonic/milestones{/number}","notifications_url":"https://api.github.com/repos/rcrowley/go-tigertonic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rcrowley/go-tigertonic/labels{/name}","releases_url":"https://api.github.com/repos/rcrowley/go-tigertonic/releases{/id}","created_at":"2013-02-09T21:16:13Z","updated_at":"2014-09-14T17:10:07Z","pushed_at":"2014-08-03T23:00:35Z","git_url":"git://github.com/rcrowley/go-tigertonic.git","ssh_url":"git@github.com:rcrowley/go-tigertonic.git","clone_url":"https://github.com/rcrowley/go-tigertonic.git","svn_url":"https://github.com/rcrowley/go-tigertonic","homepage":"","size":1415,"stargazers_count":679,"watchers_count":679,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":20,"forks":52,"open_issues":20,"watchers":679,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/78"},"html":{"href":"https://github.com/rcrowley/go-tigertonic/pull/78"},"issue":{"href":"https://api.github.com/repos/rcrowley/go-tigertonic/issues/78"},"comments":{"href":"https://api.github.com/repos/rcrowley/go-tigertonic/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rcrowley/go-tigertonic/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/rcrowley/go-tigertonic/statuses/0bf3bd14a0f778863825d0f1e7243f4f779d0087"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":108,"deletions":9,"changed_files":2}}