{"action":"opened","number":1698,"pull_request":{"url":"https://api.github.com/repos/astaxie/beego/pulls/1698","id":59915962,"html_url":"https://github.com/astaxie/beego/pull/1698","diff_url":"https://github.com/astaxie/beego/pull/1698.diff","patch_url":"https://github.com/astaxie/beego/pull/1698.patch","issue_url":"https://api.github.com/repos/astaxie/beego/issues/1698","number":1698,"state":"open","locked":false,"title":"fix issue #1598","user":{"login":"migege","id":16986947,"avatar_url":"https://avatars.githubusercontent.com/u/16986947?v=3","gravatar_id":"","url":"https://api.github.com/users/migege","html_url":"https://github.com/migege","followers_url":"https://api.github.com/users/migege/followers","following_url":"https://api.github.com/users/migege/following{/other_user}","gists_url":"https://api.github.com/users/migege/gists{/gist_id}","starred_url":"https://api.github.com/users/migege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migege/subscriptions","organizations_url":"https://api.github.com/users/migege/orgs","repos_url":"https://api.github.com/users/migege/repos","events_url":"https://api.github.com/users/migege/events{/privacy}","received_events_url":"https://api.github.com/users/migege/received_events","type":"User","site_admin":false},"body":"If there was an ```ErrorController``` set to beego, calling ```Controller.Abort()``` would cause ```http: multiple response.WriteHeader calls``` since that another ```WriteHeader``` will be called before ```ControllerRegister.ServeHTTP()``` function return.\r\n\r\nThe 1st ```WriteHeader``` in ```Controller.CustomAbort()``` is redundant.","created_at":"2016-02-19T07:59:19Z","updated_at":"2016-02-19T07:59:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7360f4bd7eef85cb7d55a67c1e849fc2d0d806cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/astaxie/beego/pulls/1698/commits","review_comments_url":"https://api.github.com/repos/astaxie/beego/pulls/1698/comments","review_comment_url":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/1698/comments","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/eb150d3e73abc0b5561bd6a79f5f9a0f35cf1c83","head":{"label":"migege:develop","ref":"develop","sha":"eb150d3e73abc0b5561bd6a79f5f9a0f35cf1c83","user":{"login":"migege","id":16986947,"avatar_url":"https://avatars.githubusercontent.com/u/16986947?v=3","gravatar_id":"","url":"https://api.github.com/users/migege","html_url":"https://github.com/migege","followers_url":"https://api.github.com/users/migege/followers","following_url":"https://api.github.com/users/migege/following{/other_user}","gists_url":"https://api.github.com/users/migege/gists{/gist_id}","starred_url":"https://api.github.com/users/migege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migege/subscriptions","organizations_url":"https://api.github.com/users/migege/orgs","repos_url":"https://api.github.com/users/migege/repos","events_url":"https://api.github.com/users/migege/events{/privacy}","received_events_url":"https://api.github.com/users/migege/received_events","type":"User","site_admin":false},"repo":{"id":52069369,"name":"beego","full_name":"migege/beego","owner":{"login":"migege","id":16986947,"avatar_url":"https://avatars.githubusercontent.com/u/16986947?v=3","gravatar_id":"","url":"https://api.github.com/users/migege","html_url":"https://github.com/migege","followers_url":"https://api.github.com/users/migege/followers","following_url":"https://api.github.com/users/migege/following{/other_user}","gists_url":"https://api.github.com/users/migege/gists{/gist_id}","starred_url":"https://api.github.com/users/migege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migege/subscriptions","organizations_url":"https://api.github.com/users/migege/orgs","repos_url":"https://api.github.com/users/migege/repos","events_url":"https://api.github.com/users/migege/events{/privacy}","received_events_url":"https://api.github.com/users/migege/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/migege/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":true,"url":"https://api.github.com/repos/migege/beego","forks_url":"https://api.github.com/repos/migege/beego/forks","keys_url":"https://api.github.com/repos/migege/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/migege/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/migege/beego/teams","hooks_url":"https://api.github.com/repos/migege/beego/hooks","issue_events_url":"https://api.github.com/repos/migege/beego/issues/events{/number}","events_url":"https://api.github.com/repos/migege/beego/events","assignees_url":"https://api.github.com/repos/migege/beego/assignees{/user}","branches_url":"https://api.github.com/repos/migege/beego/branches{/branch}","tags_url":"https://api.github.com/repos/migege/beego/tags","blobs_url":"https://api.github.com/repos/migege/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/migege/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/migege/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/migege/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/migege/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/migege/beego/languages","stargazers_url":"https://api.github.com/repos/migege/beego/stargazers","contributors_url":"https://api.github.com/repos/migege/beego/contributors","subscribers_url":"https://api.github.com/repos/migege/beego/subscribers","subscription_url":"https://api.github.com/repos/migege/beego/subscription","commits_url":"https://api.github.com/repos/migege/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/migege/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/migege/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/migege/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/migege/beego/contents/{+path}","compare_url":"https://api.github.com/repos/migege/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/migege/beego/merges","archive_url":"https://api.github.com/repos/migege/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/migege/beego/downloads","issues_url":"https://api.github.com/repos/migege/beego/issues{/number}","pulls_url":"https://api.github.com/repos/migege/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/migege/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/migege/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/migege/beego/labels{/name}","releases_url":"https://api.github.com/repos/migege/beego/releases{/id}","deployments_url":"https://api.github.com/repos/migege/beego/deployments","created_at":"2016-02-19T07:21:12Z","updated_at":"2016-02-19T07:21:14Z","pushed_at":"2016-02-19T07:47:29Z","git_url":"git://github.com/migege/beego.git","ssh_url":"git@github.com:migege/beego.git","clone_url":"https://github.com/migege/beego.git","svn_url":"https://github.com/migege/beego","homepage":"beego.me","size":3486,"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":"astaxie:develop","ref":"develop","sha":"2b23764ee00d31ada61bc0fba64be456a6c5a87d","user":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"repo":{"id":3577919,"name":"beego","full_name":"astaxie/beego","owner":{"login":"astaxie","id":233907,"avatar_url":"https://avatars.githubusercontent.com/u/233907?v=3","gravatar_id":"","url":"https://api.github.com/users/astaxie","html_url":"https://github.com/astaxie","followers_url":"https://api.github.com/users/astaxie/followers","following_url":"https://api.github.com/users/astaxie/following{/other_user}","gists_url":"https://api.github.com/users/astaxie/gists{/gist_id}","starred_url":"https://api.github.com/users/astaxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astaxie/subscriptions","organizations_url":"https://api.github.com/users/astaxie/orgs","repos_url":"https://api.github.com/users/astaxie/repos","events_url":"https://api.github.com/users/astaxie/events{/privacy}","received_events_url":"https://api.github.com/users/astaxie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astaxie/beego","description":"beego is an open-source, high-performance web framework for the Go programming language.","fork":false,"url":"https://api.github.com/repos/astaxie/beego","forks_url":"https://api.github.com/repos/astaxie/beego/forks","keys_url":"https://api.github.com/repos/astaxie/beego/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astaxie/beego/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astaxie/beego/teams","hooks_url":"https://api.github.com/repos/astaxie/beego/hooks","issue_events_url":"https://api.github.com/repos/astaxie/beego/issues/events{/number}","events_url":"https://api.github.com/repos/astaxie/beego/events","assignees_url":"https://api.github.com/repos/astaxie/beego/assignees{/user}","branches_url":"https://api.github.com/repos/astaxie/beego/branches{/branch}","tags_url":"https://api.github.com/repos/astaxie/beego/tags","blobs_url":"https://api.github.com/repos/astaxie/beego/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astaxie/beego/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astaxie/beego/git/refs{/sha}","trees_url":"https://api.github.com/repos/astaxie/beego/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astaxie/beego/statuses/{sha}","languages_url":"https://api.github.com/repos/astaxie/beego/languages","stargazers_url":"https://api.github.com/repos/astaxie/beego/stargazers","contributors_url":"https://api.github.com/repos/astaxie/beego/contributors","subscribers_url":"https://api.github.com/repos/astaxie/beego/subscribers","subscription_url":"https://api.github.com/repos/astaxie/beego/subscription","commits_url":"https://api.github.com/repos/astaxie/beego/commits{/sha}","git_commits_url":"https://api.github.com/repos/astaxie/beego/git/commits{/sha}","comments_url":"https://api.github.com/repos/astaxie/beego/comments{/number}","issue_comment_url":"https://api.github.com/repos/astaxie/beego/issues/comments{/number}","contents_url":"https://api.github.com/repos/astaxie/beego/contents/{+path}","compare_url":"https://api.github.com/repos/astaxie/beego/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astaxie/beego/merges","archive_url":"https://api.github.com/repos/astaxie/beego/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astaxie/beego/downloads","issues_url":"https://api.github.com/repos/astaxie/beego/issues{/number}","pulls_url":"https://api.github.com/repos/astaxie/beego/pulls{/number}","milestones_url":"https://api.github.com/repos/astaxie/beego/milestones{/number}","notifications_url":"https://api.github.com/repos/astaxie/beego/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astaxie/beego/labels{/name}","releases_url":"https://api.github.com/repos/astaxie/beego/releases{/id}","deployments_url":"https://api.github.com/repos/astaxie/beego/deployments","created_at":"2012-02-29T02:32:08Z","updated_at":"2016-02-19T05:52:40Z","pushed_at":"2016-02-19T07:59:21Z","git_url":"git://github.com/astaxie/beego.git","ssh_url":"git@github.com:astaxie/beego.git","clone_url":"https://github.com/astaxie/beego.git","svn_url":"https://github.com/astaxie/beego","homepage":"beego.me","size":7791,"stargazers_count":6300,"watchers_count":6300,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1574,"mirror_url":null,"open_issues_count":216,"forks":1574,"open_issues":216,"watchers":6300,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1698"},"html":{"href":"https://github.com/astaxie/beego/pull/1698"},"issue":{"href":"https://api.github.com/repos/astaxie/beego/issues/1698"},"comments":{"href":"https://api.github.com/repos/astaxie/beego/issues/1698/comments"},"review_comments":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1698/comments"},"review_comment":{"href":"https://api.github.com/repos/astaxie/beego/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astaxie/beego/pulls/1698/commits"},"statuses":{"href":"https://api.github.com/repos/astaxie/beego/statuses/eb150d3e73abc0b5561bd6a79f5f9a0f35cf1c83"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":1,"changed_files":1}}