{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/adnanh/webhook/pulls/21","id":32185229,"html_url":"https://github.com/adnanh/webhook/pull/21","diff_url":"https://github.com/adnanh/webhook/pull/21.diff","patch_url":"https://github.com/adnanh/webhook/pull/21.patch","issue_url":"https://api.github.com/repos/adnanh/webhook/issues/21","number":21,"state":"closed","locked":false,"title":"Allow charset to be defined in Content-Type header","user":{"login":"kevinlebrun","id":798082,"avatar_url":"https://avatars.githubusercontent.com/u/798082?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinlebrun","html_url":"https://github.com/kevinlebrun","followers_url":"https://api.github.com/users/kevinlebrun/followers","following_url":"https://api.github.com/users/kevinlebrun/following{/other_user}","gists_url":"https://api.github.com/users/kevinlebrun/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlebrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlebrun/subscriptions","organizations_url":"https://api.github.com/users/kevinlebrun/orgs","repos_url":"https://api.github.com/users/kevinlebrun/repos","events_url":"https://api.github.com/users/kevinlebrun/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlebrun/received_events","type":"User","site_admin":false},"body":"The payload couldn't be parsed when charset was present in the\r\n`Content-Type` header. The content type should begin with the MIME type\r\nso we now check if the content type starts with `application/json` or\r\n`application/x-www-form-urlencoded`.\r\n\r\nThis closes #20","created_at":"2015-03-29T18:05:55Z","updated_at":"2015-03-29T22:22:29Z","closed_at":"2015-03-29T22:22:29Z","merged_at":"2015-03-29T22:22:29Z","merge_commit_sha":"58f32b01a471db683a8279c935383fc72fafbd8e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adnanh/webhook/pulls/21/commits","review_comments_url":"https://api.github.com/repos/adnanh/webhook/pulls/21/comments","review_comment_url":"https://api.github.com/repos/adnanh/webhook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adnanh/webhook/issues/21/comments","statuses_url":"https://api.github.com/repos/adnanh/webhook/statuses/5f853d8abab3b726ae629b7c1ee5581f90c065b4","head":{"label":"kevinlebrun:master","ref":"master","sha":"5f853d8abab3b726ae629b7c1ee5581f90c065b4","user":{"login":"kevinlebrun","id":798082,"avatar_url":"https://avatars.githubusercontent.com/u/798082?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinlebrun","html_url":"https://github.com/kevinlebrun","followers_url":"https://api.github.com/users/kevinlebrun/followers","following_url":"https://api.github.com/users/kevinlebrun/following{/other_user}","gists_url":"https://api.github.com/users/kevinlebrun/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlebrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlebrun/subscriptions","organizations_url":"https://api.github.com/users/kevinlebrun/orgs","repos_url":"https://api.github.com/users/kevinlebrun/repos","events_url":"https://api.github.com/users/kevinlebrun/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlebrun/received_events","type":"User","site_admin":false},"repo":{"id":33082892,"name":"webhook","full_name":"kevinlebrun/webhook","owner":{"login":"kevinlebrun","id":798082,"avatar_url":"https://avatars.githubusercontent.com/u/798082?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinlebrun","html_url":"https://github.com/kevinlebrun","followers_url":"https://api.github.com/users/kevinlebrun/followers","following_url":"https://api.github.com/users/kevinlebrun/following{/other_user}","gists_url":"https://api.github.com/users/kevinlebrun/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlebrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlebrun/subscriptions","organizations_url":"https://api.github.com/users/kevinlebrun/orgs","repos_url":"https://api.github.com/users/kevinlebrun/repos","events_url":"https://api.github.com/users/kevinlebrun/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlebrun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinlebrun/webhook","description":"webhook is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands.","fork":true,"url":"https://api.github.com/repos/kevinlebrun/webhook","forks_url":"https://api.github.com/repos/kevinlebrun/webhook/forks","keys_url":"https://api.github.com/repos/kevinlebrun/webhook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinlebrun/webhook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinlebrun/webhook/teams","hooks_url":"https://api.github.com/repos/kevinlebrun/webhook/hooks","issue_events_url":"https://api.github.com/repos/kevinlebrun/webhook/issues/events{/number}","events_url":"https://api.github.com/repos/kevinlebrun/webhook/events","assignees_url":"https://api.github.com/repos/kevinlebrun/webhook/assignees{/user}","branches_url":"https://api.github.com/repos/kevinlebrun/webhook/branches{/branch}","tags_url":"https://api.github.com/repos/kevinlebrun/webhook/tags","blobs_url":"https://api.github.com/repos/kevinlebrun/webhook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinlebrun/webhook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinlebrun/webhook/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinlebrun/webhook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinlebrun/webhook/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinlebrun/webhook/languages","stargazers_url":"https://api.github.com/repos/kevinlebrun/webhook/stargazers","contributors_url":"https://api.github.com/repos/kevinlebrun/webhook/contributors","subscribers_url":"https://api.github.com/repos/kevinlebrun/webhook/subscribers","subscription_url":"https://api.github.com/repos/kevinlebrun/webhook/subscription","commits_url":"https://api.github.com/repos/kevinlebrun/webhook/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinlebrun/webhook/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinlebrun/webhook/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinlebrun/webhook/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinlebrun/webhook/contents/{+path}","compare_url":"https://api.github.com/repos/kevinlebrun/webhook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinlebrun/webhook/merges","archive_url":"https://api.github.com/repos/kevinlebrun/webhook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinlebrun/webhook/downloads","issues_url":"https://api.github.com/repos/kevinlebrun/webhook/issues{/number}","pulls_url":"https://api.github.com/repos/kevinlebrun/webhook/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinlebrun/webhook/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinlebrun/webhook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinlebrun/webhook/labels{/name}","releases_url":"https://api.github.com/repos/kevinlebrun/webhook/releases{/id}","created_at":"2015-03-29T17:57:03Z","updated_at":"2015-03-29T18:04:11Z","pushed_at":"2015-03-29T18:04:11Z","git_url":"git://github.com/kevinlebrun/webhook.git","ssh_url":"git@github.com:kevinlebrun/webhook.git","clone_url":"https://github.com/kevinlebrun/webhook.git","svn_url":"https://github.com/kevinlebrun/webhook","homepage":"","size":735,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"adnanh:master","ref":"master","sha":"12c48f87cbe42cf5bd815dc53efd94e61ec78d52","user":{"login":"adnanh","id":82367,"avatar_url":"https://avatars.githubusercontent.com/u/82367?v=3","gravatar_id":"","url":"https://api.github.com/users/adnanh","html_url":"https://github.com/adnanh","followers_url":"https://api.github.com/users/adnanh/followers","following_url":"https://api.github.com/users/adnanh/following{/other_user}","gists_url":"https://api.github.com/users/adnanh/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanh/subscriptions","organizations_url":"https://api.github.com/users/adnanh/orgs","repos_url":"https://api.github.com/users/adnanh/repos","events_url":"https://api.github.com/users/adnanh/events{/privacy}","received_events_url":"https://api.github.com/users/adnanh/received_events","type":"User","site_admin":false},"repo":{"id":29156642,"name":"webhook","full_name":"adnanh/webhook","owner":{"login":"adnanh","id":82367,"avatar_url":"https://avatars.githubusercontent.com/u/82367?v=3","gravatar_id":"","url":"https://api.github.com/users/adnanh","html_url":"https://github.com/adnanh","followers_url":"https://api.github.com/users/adnanh/followers","following_url":"https://api.github.com/users/adnanh/following{/other_user}","gists_url":"https://api.github.com/users/adnanh/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanh/subscriptions","organizations_url":"https://api.github.com/users/adnanh/orgs","repos_url":"https://api.github.com/users/adnanh/repos","events_url":"https://api.github.com/users/adnanh/events{/privacy}","received_events_url":"https://api.github.com/users/adnanh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adnanh/webhook","description":"webhook is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands.","fork":false,"url":"https://api.github.com/repos/adnanh/webhook","forks_url":"https://api.github.com/repos/adnanh/webhook/forks","keys_url":"https://api.github.com/repos/adnanh/webhook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adnanh/webhook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adnanh/webhook/teams","hooks_url":"https://api.github.com/repos/adnanh/webhook/hooks","issue_events_url":"https://api.github.com/repos/adnanh/webhook/issues/events{/number}","events_url":"https://api.github.com/repos/adnanh/webhook/events","assignees_url":"https://api.github.com/repos/adnanh/webhook/assignees{/user}","branches_url":"https://api.github.com/repos/adnanh/webhook/branches{/branch}","tags_url":"https://api.github.com/repos/adnanh/webhook/tags","blobs_url":"https://api.github.com/repos/adnanh/webhook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adnanh/webhook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adnanh/webhook/git/refs{/sha}","trees_url":"https://api.github.com/repos/adnanh/webhook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adnanh/webhook/statuses/{sha}","languages_url":"https://api.github.com/repos/adnanh/webhook/languages","stargazers_url":"https://api.github.com/repos/adnanh/webhook/stargazers","contributors_url":"https://api.github.com/repos/adnanh/webhook/contributors","subscribers_url":"https://api.github.com/repos/adnanh/webhook/subscribers","subscription_url":"https://api.github.com/repos/adnanh/webhook/subscription","commits_url":"https://api.github.com/repos/adnanh/webhook/commits{/sha}","git_commits_url":"https://api.github.com/repos/adnanh/webhook/git/commits{/sha}","comments_url":"https://api.github.com/repos/adnanh/webhook/comments{/number}","issue_comment_url":"https://api.github.com/repos/adnanh/webhook/issues/comments{/number}","contents_url":"https://api.github.com/repos/adnanh/webhook/contents/{+path}","compare_url":"https://api.github.com/repos/adnanh/webhook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adnanh/webhook/merges","archive_url":"https://api.github.com/repos/adnanh/webhook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adnanh/webhook/downloads","issues_url":"https://api.github.com/repos/adnanh/webhook/issues{/number}","pulls_url":"https://api.github.com/repos/adnanh/webhook/pulls{/number}","milestones_url":"https://api.github.com/repos/adnanh/webhook/milestones{/number}","notifications_url":"https://api.github.com/repos/adnanh/webhook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adnanh/webhook/labels{/name}","releases_url":"https://api.github.com/repos/adnanh/webhook/releases{/id}","created_at":"2015-01-12T20:59:11Z","updated_at":"2015-03-29T16:58:22Z","pushed_at":"2015-03-29T22:22:29Z","git_url":"git://github.com/adnanh/webhook.git","ssh_url":"git@github.com:adnanh/webhook.git","clone_url":"https://github.com/adnanh/webhook.git","svn_url":"https://github.com/adnanh/webhook","homepage":"","size":735,"stargazers_count":79,"watchers_count":79,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adnanh/webhook/pulls/21"},"html":{"href":"https://github.com/adnanh/webhook/pull/21"},"issue":{"href":"https://api.github.com/repos/adnanh/webhook/issues/21"},"comments":{"href":"https://api.github.com/repos/adnanh/webhook/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/adnanh/webhook/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/adnanh/webhook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adnanh/webhook/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/adnanh/webhook/statuses/5f853d8abab3b726ae629b7c1ee5581f90c065b4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"adnanh","id":82367,"avatar_url":"https://avatars.githubusercontent.com/u/82367?v=3","gravatar_id":"","url":"https://api.github.com/users/adnanh","html_url":"https://github.com/adnanh","followers_url":"https://api.github.com/users/adnanh/followers","following_url":"https://api.github.com/users/adnanh/following{/other_user}","gists_url":"https://api.github.com/users/adnanh/gists{/gist_id}","starred_url":"https://api.github.com/users/adnanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnanh/subscriptions","organizations_url":"https://api.github.com/users/adnanh/orgs","repos_url":"https://api.github.com/users/adnanh/repos","events_url":"https://api.github.com/users/adnanh/events{/privacy}","received_events_url":"https://api.github.com/users/adnanh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}