{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/32","id":99604774,"html_url":"https://github.com/jdesrosiers/silex-cors-provider/pull/32","diff_url":"https://github.com/jdesrosiers/silex-cors-provider/pull/32.diff","patch_url":"https://github.com/jdesrosiers/silex-cors-provider/pull/32.patch","issue_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/issues/32","number":32,"state":"open","locked":false,"title":"Update OptionsController.php","user":{"login":"pkerspe","id":9518308,"avatar_url":"https://avatars.githubusercontent.com/u/9518308?v=3","gravatar_id":"","url":"https://api.github.com/users/pkerspe","html_url":"https://github.com/pkerspe","followers_url":"https://api.github.com/users/pkerspe/followers","following_url":"https://api.github.com/users/pkerspe/following{/other_user}","gists_url":"https://api.github.com/users/pkerspe/gists{/gist_id}","starred_url":"https://api.github.com/users/pkerspe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkerspe/subscriptions","organizations_url":"https://api.github.com/users/pkerspe/orgs","repos_url":"https://api.github.com/users/pkerspe/repos","events_url":"https://api.github.com/users/pkerspe/events{/privacy}","received_events_url":"https://api.github.com/users/pkerspe/received_events","type":"User","site_admin":false},"body":"I experienced some issues in swagger when only sticking ot the \"Allow\" header, swagger (in firefox) misses the header named \"Access-Control-Allow-Methods\" with the allowed request types. Thus I used the same values as for the \"Allow\" header and added to \"Access-Control-Allow-Methods\".\r\nAccording to RFC it seems there actually is no header called \"Allow\" but only \"Access-Control-Allow-Methods\" (https://www.w3.org/TR/cors/#access-control-allow-methods-response-header)","created_at":"2016-12-28T23:50:14Z","updated_at":"2016-12-28T23:50:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/32/commits","review_comments_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/32/comments","review_comment_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/issues/32/comments","statuses_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/statuses/6d004e0fe578219cbcfb841f2b4c83b22095d91e","head":{"label":"pkerspe:patch-1","ref":"patch-1","sha":"6d004e0fe578219cbcfb841f2b4c83b22095d91e","user":{"login":"pkerspe","id":9518308,"avatar_url":"https://avatars.githubusercontent.com/u/9518308?v=3","gravatar_id":"","url":"https://api.github.com/users/pkerspe","html_url":"https://github.com/pkerspe","followers_url":"https://api.github.com/users/pkerspe/followers","following_url":"https://api.github.com/users/pkerspe/following{/other_user}","gists_url":"https://api.github.com/users/pkerspe/gists{/gist_id}","starred_url":"https://api.github.com/users/pkerspe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkerspe/subscriptions","organizations_url":"https://api.github.com/users/pkerspe/orgs","repos_url":"https://api.github.com/users/pkerspe/repos","events_url":"https://api.github.com/users/pkerspe/events{/privacy}","received_events_url":"https://api.github.com/users/pkerspe/received_events","type":"User","site_admin":false},"repo":{"id":77568169,"name":"silex-cors-provider","full_name":"pkerspe/silex-cors-provider","owner":{"login":"pkerspe","id":9518308,"avatar_url":"https://avatars.githubusercontent.com/u/9518308?v=3","gravatar_id":"","url":"https://api.github.com/users/pkerspe","html_url":"https://github.com/pkerspe","followers_url":"https://api.github.com/users/pkerspe/followers","following_url":"https://api.github.com/users/pkerspe/following{/other_user}","gists_url":"https://api.github.com/users/pkerspe/gists{/gist_id}","starred_url":"https://api.github.com/users/pkerspe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkerspe/subscriptions","organizations_url":"https://api.github.com/users/pkerspe/orgs","repos_url":"https://api.github.com/users/pkerspe/repos","events_url":"https://api.github.com/users/pkerspe/events{/privacy}","received_events_url":"https://api.github.com/users/pkerspe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pkerspe/silex-cors-provider","description":"A silex service provider that adds CORS services to silex","fork":true,"url":"https://api.github.com/repos/pkerspe/silex-cors-provider","forks_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/forks","keys_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/teams","hooks_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/hooks","issue_events_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/issues/events{/number}","events_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/events","assignees_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/assignees{/user}","branches_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/branches{/branch}","tags_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/tags","blobs_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/languages","stargazers_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/stargazers","contributors_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/contributors","subscribers_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/subscribers","subscription_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/subscription","commits_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/contents/{+path}","compare_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/merges","archive_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/downloads","issues_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/issues{/number}","pulls_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/labels{/name}","releases_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/releases{/id}","deployments_url":"https://api.github.com/repos/pkerspe/silex-cors-provider/deployments","created_at":"2016-12-28T23:44:00Z","updated_at":"2016-12-28T23:44:02Z","pushed_at":"2016-12-28T23:48:41Z","git_url":"git://github.com/pkerspe/silex-cors-provider.git","ssh_url":"git@github.com:pkerspe/silex-cors-provider.git","clone_url":"https://github.com/pkerspe/silex-cors-provider.git","svn_url":"https://github.com/pkerspe/silex-cors-provider","homepage":"","size":48,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"jdesrosiers:master","ref":"master","sha":"6d4d487edbf965f5802f744bfd8f97a84f3522a2","user":{"login":"jdesrosiers","id":716571,"avatar_url":"https://avatars.githubusercontent.com/u/716571?v=3","gravatar_id":"","url":"https://api.github.com/users/jdesrosiers","html_url":"https://github.com/jdesrosiers","followers_url":"https://api.github.com/users/jdesrosiers/followers","following_url":"https://api.github.com/users/jdesrosiers/following{/other_user}","gists_url":"https://api.github.com/users/jdesrosiers/gists{/gist_id}","starred_url":"https://api.github.com/users/jdesrosiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdesrosiers/subscriptions","organizations_url":"https://api.github.com/users/jdesrosiers/orgs","repos_url":"https://api.github.com/users/jdesrosiers/repos","events_url":"https://api.github.com/users/jdesrosiers/events{/privacy}","received_events_url":"https://api.github.com/users/jdesrosiers/received_events","type":"User","site_admin":false},"repo":{"id":11411260,"name":"silex-cors-provider","full_name":"jdesrosiers/silex-cors-provider","owner":{"login":"jdesrosiers","id":716571,"avatar_url":"https://avatars.githubusercontent.com/u/716571?v=3","gravatar_id":"","url":"https://api.github.com/users/jdesrosiers","html_url":"https://github.com/jdesrosiers","followers_url":"https://api.github.com/users/jdesrosiers/followers","following_url":"https://api.github.com/users/jdesrosiers/following{/other_user}","gists_url":"https://api.github.com/users/jdesrosiers/gists{/gist_id}","starred_url":"https://api.github.com/users/jdesrosiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdesrosiers/subscriptions","organizations_url":"https://api.github.com/users/jdesrosiers/orgs","repos_url":"https://api.github.com/users/jdesrosiers/repos","events_url":"https://api.github.com/users/jdesrosiers/events{/privacy}","received_events_url":"https://api.github.com/users/jdesrosiers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdesrosiers/silex-cors-provider","description":"A silex service provider that adds CORS services to silex","fork":false,"url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider","forks_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/forks","keys_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/teams","hooks_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/hooks","issue_events_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/issues/events{/number}","events_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/events","assignees_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/assignees{/user}","branches_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/branches{/branch}","tags_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/tags","blobs_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/languages","stargazers_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/stargazers","contributors_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/contributors","subscribers_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/subscribers","subscription_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/subscription","commits_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/contents/{+path}","compare_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/merges","archive_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/downloads","issues_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/issues{/number}","pulls_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/labels{/name}","releases_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/releases{/id}","deployments_url":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/deployments","created_at":"2013-07-14T23:51:16Z","updated_at":"2016-12-27T22:42:24Z","pushed_at":"2016-12-28T23:50:15Z","git_url":"git://github.com/jdesrosiers/silex-cors-provider.git","ssh_url":"git@github.com:jdesrosiers/silex-cors-provider.git","clone_url":"https://github.com/jdesrosiers/silex-cors-provider.git","svn_url":"https://github.com/jdesrosiers/silex-cors-provider","homepage":"","size":48,"stargazers_count":66,"watchers_count":66,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":6,"forks":20,"open_issues":6,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/32"},"html":{"href":"https://github.com/jdesrosiers/silex-cors-provider/pull/32"},"issue":{"href":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/issues/32"},"comments":{"href":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/jdesrosiers/silex-cors-provider/statuses/6d004e0fe578219cbcfb841f2b4c83b22095d91e"}},"merged":false,"mergeable":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":"pkerspe"}}