{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/1","id":132142576,"html_url":"https://github.com/sh41/JWTRefreshTokenBundle/pull/1","diff_url":"https://github.com/sh41/JWTRefreshTokenBundle/pull/1.diff","patch_url":"https://github.com/sh41/JWTRefreshTokenBundle/pull/1.patch","issue_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/1","number":1,"state":"open","locked":false,"title":"Match full variety of Content-Type values","user":{"login":"sh41","id":6237786,"avatar_url":"https://avatars2.githubusercontent.com/u/6237786?v=4","gravatar_id":"","url":"https://api.github.com/users/sh41","html_url":"https://github.com/sh41","followers_url":"https://api.github.com/users/sh41/followers","following_url":"https://api.github.com/users/sh41/following{/other_user}","gists_url":"https://api.github.com/users/sh41/gists{/gist_id}","starred_url":"https://api.github.com/users/sh41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh41/subscriptions","organizations_url":"https://api.github.com/users/sh41/orgs","repos_url":"https://api.github.com/users/sh41/repos","events_url":"https://api.github.com/users/sh41/events{/privacy}","received_events_url":"https://api.github.com/users/sh41/received_events","type":"User","site_admin":false},"body":"At the moment the \"Content-Type\" header must be exactly 'application/json' for the refresh token to be extracted from the request. \r\n\r\nIt is valid for \"Content-Type\" header to have a parameter for example 'application/json;charset=UTF-8', but this does not match the criteria and so the refresh fails. \r\n\r\nThis change checks that the Content-Type header starts with  'application/json' and will then attempt to extract refresh_token from the content of the request.","created_at":"2017-07-24T20:53:05Z","updated_at":"2017-07-24T20:53:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/1/comments","statuses_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/statuses/6b92e1b1ca02838bac6f4537fb93156d32ccb05d","head":{"label":"sh41:json-refresh-content-type","ref":"json-refresh-content-type","sha":"6b92e1b1ca02838bac6f4537fb93156d32ccb05d","user":{"login":"sh41","id":6237786,"avatar_url":"https://avatars2.githubusercontent.com/u/6237786?v=4","gravatar_id":"","url":"https://api.github.com/users/sh41","html_url":"https://github.com/sh41","followers_url":"https://api.github.com/users/sh41/followers","following_url":"https://api.github.com/users/sh41/following{/other_user}","gists_url":"https://api.github.com/users/sh41/gists{/gist_id}","starred_url":"https://api.github.com/users/sh41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh41/subscriptions","organizations_url":"https://api.github.com/users/sh41/orgs","repos_url":"https://api.github.com/users/sh41/repos","events_url":"https://api.github.com/users/sh41/events{/privacy}","received_events_url":"https://api.github.com/users/sh41/received_events","type":"User","site_admin":false},"repo":{"id":98233131,"name":"JWTRefreshTokenBundle","full_name":"sh41/JWTRefreshTokenBundle","owner":{"login":"sh41","id":6237786,"avatar_url":"https://avatars2.githubusercontent.com/u/6237786?v=4","gravatar_id":"","url":"https://api.github.com/users/sh41","html_url":"https://github.com/sh41","followers_url":"https://api.github.com/users/sh41/followers","following_url":"https://api.github.com/users/sh41/following{/other_user}","gists_url":"https://api.github.com/users/sh41/gists{/gist_id}","starred_url":"https://api.github.com/users/sh41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh41/subscriptions","organizations_url":"https://api.github.com/users/sh41/orgs","repos_url":"https://api.github.com/users/sh41/repos","events_url":"https://api.github.com/users/sh41/events{/privacy}","received_events_url":"https://api.github.com/users/sh41/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sh41/JWTRefreshTokenBundle","description":"Implements a Refresh Token system over Json Web Tokens in Symfony","fork":true,"url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle","forks_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/forks","keys_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/teams","hooks_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/hooks","issue_events_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/events","assignees_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/tags","blobs_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/languages","stargazers_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/stargazers","contributors_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/contributors","subscribers_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/subscribers","subscription_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/subscription","commits_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/merges","archive_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/downloads","issues_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/labels{/name}","releases_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/deployments","created_at":"2017-07-24T20:41:09Z","updated_at":"2017-07-24T20:41:11Z","pushed_at":"2017-07-24T20:52:28Z","git_url":"git://github.com/sh41/JWTRefreshTokenBundle.git","ssh_url":"git@github.com:sh41/JWTRefreshTokenBundle.git","clone_url":"https://github.com/sh41/JWTRefreshTokenBundle.git","svn_url":"https://github.com/sh41/JWTRefreshTokenBundle","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sh41:master","ref":"master","sha":"26d803bcf9cf64dedb7a59f7a94f95a4fdd3799c","user":{"login":"sh41","id":6237786,"avatar_url":"https://avatars2.githubusercontent.com/u/6237786?v=4","gravatar_id":"","url":"https://api.github.com/users/sh41","html_url":"https://github.com/sh41","followers_url":"https://api.github.com/users/sh41/followers","following_url":"https://api.github.com/users/sh41/following{/other_user}","gists_url":"https://api.github.com/users/sh41/gists{/gist_id}","starred_url":"https://api.github.com/users/sh41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh41/subscriptions","organizations_url":"https://api.github.com/users/sh41/orgs","repos_url":"https://api.github.com/users/sh41/repos","events_url":"https://api.github.com/users/sh41/events{/privacy}","received_events_url":"https://api.github.com/users/sh41/received_events","type":"User","site_admin":false},"repo":{"id":98233131,"name":"JWTRefreshTokenBundle","full_name":"sh41/JWTRefreshTokenBundle","owner":{"login":"sh41","id":6237786,"avatar_url":"https://avatars2.githubusercontent.com/u/6237786?v=4","gravatar_id":"","url":"https://api.github.com/users/sh41","html_url":"https://github.com/sh41","followers_url":"https://api.github.com/users/sh41/followers","following_url":"https://api.github.com/users/sh41/following{/other_user}","gists_url":"https://api.github.com/users/sh41/gists{/gist_id}","starred_url":"https://api.github.com/users/sh41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh41/subscriptions","organizations_url":"https://api.github.com/users/sh41/orgs","repos_url":"https://api.github.com/users/sh41/repos","events_url":"https://api.github.com/users/sh41/events{/privacy}","received_events_url":"https://api.github.com/users/sh41/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sh41/JWTRefreshTokenBundle","description":"Implements a Refresh Token system over Json Web Tokens in Symfony","fork":true,"url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle","forks_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/forks","keys_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/teams","hooks_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/hooks","issue_events_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/events","assignees_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/tags","blobs_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/languages","stargazers_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/stargazers","contributors_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/contributors","subscribers_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/subscribers","subscription_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/subscription","commits_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/merges","archive_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/downloads","issues_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/labels{/name}","releases_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/deployments","created_at":"2017-07-24T20:41:09Z","updated_at":"2017-07-24T20:41:11Z","pushed_at":"2017-07-24T20:52:28Z","git_url":"git://github.com/sh41/JWTRefreshTokenBundle.git","ssh_url":"git@github.com:sh41/JWTRefreshTokenBundle.git","clone_url":"https://github.com/sh41/JWTRefreshTokenBundle.git","svn_url":"https://github.com/sh41/JWTRefreshTokenBundle","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/1"},"html":{"href":"https://github.com/sh41/JWTRefreshTokenBundle/pull/1"},"issue":{"href":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/1"},"comments":{"href":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sh41/JWTRefreshTokenBundle/statuses/6b92e1b1ca02838bac6f4537fb93156d32ccb05d"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"sh41"}}