{"action":"opened","number":61,"pull_request":{"url":"https://api.github.com/repos/gorilla/rpc/pulls/61","id":208856265,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4ODU2MjY1","html_url":"https://github.com/gorilla/rpc/pull/61","diff_url":"https://github.com/gorilla/rpc/pull/61.diff","patch_url":"https://github.com/gorilla/rpc/pull/61.patch","issue_url":"https://api.github.com/repos/gorilla/rpc/issues/61","number":61,"state":"open","locked":false,"title":"Return E_PARSE error when JSON can't be parsed","user":{"login":"colega","id":1511481,"node_id":"MDQ6VXNlcjE1MTE0ODE=","avatar_url":"https://avatars0.githubusercontent.com/u/1511481?v=4","gravatar_id":"","url":"https://api.github.com/users/colega","html_url":"https://github.com/colega","followers_url":"https://api.github.com/users/colega/followers","following_url":"https://api.github.com/users/colega/following{/other_user}","gists_url":"https://api.github.com/users/colega/gists{/gist_id}","starred_url":"https://api.github.com/users/colega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colega/subscriptions","organizations_url":"https://api.github.com/users/colega/orgs","repos_url":"https://api.github.com/users/colega/repos","events_url":"https://api.github.com/users/colega/events{/privacy}","received_events_url":"https://api.github.com/users/colega/received_events","type":"User","site_admin":false},"body":"An empty-body HTTP 200 OK response was returned to malformed requests\r\nbecause:\r\n - As JSON could not be parsed, res.Version was empty and `err` was\r\n being overwritten by E_INVALID_REQ. Solution: only check that if there\r\n was no parse error.\r\n - As JSON could not be parsed, red.Id was empty and writeServerResponse\r\n was considering it was a Notification request, so the response was\r\n discarded. Solution: if ID is empty, make sure we're not trying to\r\n write an E_PARSE error.","created_at":"2018-08-16T13:17:50Z","updated_at":"2018-08-16T13:17:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gorilla/rpc/pulls/61/commits","review_comments_url":"https://api.github.com/repos/gorilla/rpc/pulls/61/comments","review_comment_url":"https://api.github.com/repos/gorilla/rpc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gorilla/rpc/issues/61/comments","statuses_url":"https://api.github.com/repos/gorilla/rpc/statuses/3912882bae0476b56fabfd850f89370b15d23b02","head":{"label":"cabify:colega/return-parse-error-responses","ref":"colega/return-parse-error-responses","sha":"3912882bae0476b56fabfd850f89370b15d23b02","user":{"login":"cabify","id":924915,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNDkxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/924915?v=4","gravatar_id":"","url":"https://api.github.com/users/cabify","html_url":"https://github.com/cabify","followers_url":"https://api.github.com/users/cabify/followers","following_url":"https://api.github.com/users/cabify/following{/other_user}","gists_url":"https://api.github.com/users/cabify/gists{/gist_id}","starred_url":"https://api.github.com/users/cabify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cabify/subscriptions","organizations_url":"https://api.github.com/users/cabify/orgs","repos_url":"https://api.github.com/users/cabify/repos","events_url":"https://api.github.com/users/cabify/events{/privacy}","received_events_url":"https://api.github.com/users/cabify/received_events","type":"Organization","site_admin":false},"repo":{"id":144968903,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ5Njg5MDM=","name":"gorilla-rpc","full_name":"cabify/gorilla-rpc","owner":{"login":"cabify","id":924915,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNDkxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/924915?v=4","gravatar_id":"","url":"https://api.github.com/users/cabify","html_url":"https://github.com/cabify","followers_url":"https://api.github.com/users/cabify/followers","following_url":"https://api.github.com/users/cabify/following{/other_user}","gists_url":"https://api.github.com/users/cabify/gists{/gist_id}","starred_url":"https://api.github.com/users/cabify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cabify/subscriptions","organizations_url":"https://api.github.com/users/cabify/orgs","repos_url":"https://api.github.com/users/cabify/repos","events_url":"https://api.github.com/users/cabify/events{/privacy}","received_events_url":"https://api.github.com/users/cabify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cabify/gorilla-rpc","description":"A golang foundation for RPC over HTTP services.","fork":true,"url":"https://api.github.com/repos/cabify/gorilla-rpc","forks_url":"https://api.github.com/repos/cabify/gorilla-rpc/forks","keys_url":"https://api.github.com/repos/cabify/gorilla-rpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cabify/gorilla-rpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cabify/gorilla-rpc/teams","hooks_url":"https://api.github.com/repos/cabify/gorilla-rpc/hooks","issue_events_url":"https://api.github.com/repos/cabify/gorilla-rpc/issues/events{/number}","events_url":"https://api.github.com/repos/cabify/gorilla-rpc/events","assignees_url":"https://api.github.com/repos/cabify/gorilla-rpc/assignees{/user}","branches_url":"https://api.github.com/repos/cabify/gorilla-rpc/branches{/branch}","tags_url":"https://api.github.com/repos/cabify/gorilla-rpc/tags","blobs_url":"https://api.github.com/repos/cabify/gorilla-rpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cabify/gorilla-rpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cabify/gorilla-rpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/cabify/gorilla-rpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cabify/gorilla-rpc/statuses/{sha}","languages_url":"https://api.github.com/repos/cabify/gorilla-rpc/languages","stargazers_url":"https://api.github.com/repos/cabify/gorilla-rpc/stargazers","contributors_url":"https://api.github.com/repos/cabify/gorilla-rpc/contributors","subscribers_url":"https://api.github.com/repos/cabify/gorilla-rpc/subscribers","subscription_url":"https://api.github.com/repos/cabify/gorilla-rpc/subscription","commits_url":"https://api.github.com/repos/cabify/gorilla-rpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/cabify/gorilla-rpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/cabify/gorilla-rpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/cabify/gorilla-rpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/cabify/gorilla-rpc/contents/{+path}","compare_url":"https://api.github.com/repos/cabify/gorilla-rpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cabify/gorilla-rpc/merges","archive_url":"https://api.github.com/repos/cabify/gorilla-rpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cabify/gorilla-rpc/downloads","issues_url":"https://api.github.com/repos/cabify/gorilla-rpc/issues{/number}","pulls_url":"https://api.github.com/repos/cabify/gorilla-rpc/pulls{/number}","milestones_url":"https://api.github.com/repos/cabify/gorilla-rpc/milestones{/number}","notifications_url":"https://api.github.com/repos/cabify/gorilla-rpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cabify/gorilla-rpc/labels{/name}","releases_url":"https://api.github.com/repos/cabify/gorilla-rpc/releases{/id}","deployments_url":"https://api.github.com/repos/cabify/gorilla-rpc/deployments","created_at":"2018-08-16T09:49:34Z","updated_at":"2018-08-16T10:40:12Z","pushed_at":"2018-08-16T13:16:45Z","git_url":"git://github.com/cabify/gorilla-rpc.git","ssh_url":"git@github.com:cabify/gorilla-rpc.git","clone_url":"https://github.com/cabify/gorilla-rpc.git","svn_url":"https://github.com/cabify/gorilla-rpc","homepage":"http://www.gorillatoolkit.org/pkg/rpc","size":98,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"gorilla:master","ref":"master","sha":"5c1378103183095acc1b9289ac1475e3bc1e818e","user":{"login":"gorilla","id":489566,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4OTU2Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/489566?v=4","gravatar_id":"","url":"https://api.github.com/users/gorilla","html_url":"https://github.com/gorilla","followers_url":"https://api.github.com/users/gorilla/followers","following_url":"https://api.github.com/users/gorilla/following{/other_user}","gists_url":"https://api.github.com/users/gorilla/gists{/gist_id}","starred_url":"https://api.github.com/users/gorilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorilla/subscriptions","organizations_url":"https://api.github.com/users/gorilla/orgs","repos_url":"https://api.github.com/users/gorilla/repos","events_url":"https://api.github.com/users/gorilla/events{/privacy}","received_events_url":"https://api.github.com/users/gorilla/received_events","type":"Organization","site_admin":false},"repo":{"id":6051831,"node_id":"MDEwOlJlcG9zaXRvcnk2MDUxODMx","name":"rpc","full_name":"gorilla/rpc","owner":{"login":"gorilla","id":489566,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4OTU2Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/489566?v=4","gravatar_id":"","url":"https://api.github.com/users/gorilla","html_url":"https://github.com/gorilla","followers_url":"https://api.github.com/users/gorilla/followers","following_url":"https://api.github.com/users/gorilla/following{/other_user}","gists_url":"https://api.github.com/users/gorilla/gists{/gist_id}","starred_url":"https://api.github.com/users/gorilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorilla/subscriptions","organizations_url":"https://api.github.com/users/gorilla/orgs","repos_url":"https://api.github.com/users/gorilla/repos","events_url":"https://api.github.com/users/gorilla/events{/privacy}","received_events_url":"https://api.github.com/users/gorilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gorilla/rpc","description":"A golang foundation for RPC over HTTP services.","fork":false,"url":"https://api.github.com/repos/gorilla/rpc","forks_url":"https://api.github.com/repos/gorilla/rpc/forks","keys_url":"https://api.github.com/repos/gorilla/rpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gorilla/rpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gorilla/rpc/teams","hooks_url":"https://api.github.com/repos/gorilla/rpc/hooks","issue_events_url":"https://api.github.com/repos/gorilla/rpc/issues/events{/number}","events_url":"https://api.github.com/repos/gorilla/rpc/events","assignees_url":"https://api.github.com/repos/gorilla/rpc/assignees{/user}","branches_url":"https://api.github.com/repos/gorilla/rpc/branches{/branch}","tags_url":"https://api.github.com/repos/gorilla/rpc/tags","blobs_url":"https://api.github.com/repos/gorilla/rpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gorilla/rpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gorilla/rpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/gorilla/rpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gorilla/rpc/statuses/{sha}","languages_url":"https://api.github.com/repos/gorilla/rpc/languages","stargazers_url":"https://api.github.com/repos/gorilla/rpc/stargazers","contributors_url":"https://api.github.com/repos/gorilla/rpc/contributors","subscribers_url":"https://api.github.com/repos/gorilla/rpc/subscribers","subscription_url":"https://api.github.com/repos/gorilla/rpc/subscription","commits_url":"https://api.github.com/repos/gorilla/rpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/gorilla/rpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/gorilla/rpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/gorilla/rpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/gorilla/rpc/contents/{+path}","compare_url":"https://api.github.com/repos/gorilla/rpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gorilla/rpc/merges","archive_url":"https://api.github.com/repos/gorilla/rpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gorilla/rpc/downloads","issues_url":"https://api.github.com/repos/gorilla/rpc/issues{/number}","pulls_url":"https://api.github.com/repos/gorilla/rpc/pulls{/number}","milestones_url":"https://api.github.com/repos/gorilla/rpc/milestones{/number}","notifications_url":"https://api.github.com/repos/gorilla/rpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gorilla/rpc/labels{/name}","releases_url":"https://api.github.com/repos/gorilla/rpc/releases{/id}","deployments_url":"https://api.github.com/repos/gorilla/rpc/deployments","created_at":"2012-10-02T21:33:58Z","updated_at":"2018-08-16T09:49:32Z","pushed_at":"2018-08-16T13:16:01Z","git_url":"git://github.com/gorilla/rpc.git","ssh_url":"git@github.com:gorilla/rpc.git","clone_url":"https://github.com/gorilla/rpc.git","svn_url":"https://github.com/gorilla/rpc","homepage":"http://www.gorillatoolkit.org/pkg/rpc","size":91,"stargazers_count":321,"watchers_count":321,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":116,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":116,"open_issues":13,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gorilla/rpc/pulls/61"},"html":{"href":"https://github.com/gorilla/rpc/pull/61"},"issue":{"href":"https://api.github.com/repos/gorilla/rpc/issues/61"},"comments":{"href":"https://api.github.com/repos/gorilla/rpc/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/gorilla/rpc/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/gorilla/rpc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gorilla/rpc/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/gorilla/rpc/statuses/3912882bae0476b56fabfd850f89370b15d23b02"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":30,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"colega"}}