{"action":"closed","number":146,"pull_request":{"url":"https://api.github.com/repos/rails/web-console/pulls/146","id":38669672,"html_url":"https://github.com/rails/web-console/pull/146","diff_url":"https://github.com/rails/web-console/pull/146.diff","patch_url":"https://github.com/rails/web-console/pull/146.patch","issue_url":"https://api.github.com/repos/rails/web-console/issues/146","number":146,"state":"closed","locked":false,"title":"Add \"X-Web-Console-Session-Id\" to response headers","user":{"login":"sh19910711","id":1015222,"avatar_url":"https://avatars.githubusercontent.com/u/1015222?v=3","gravatar_id":"","url":"https://api.github.com/users/sh19910711","html_url":"https://github.com/sh19910711","followers_url":"https://api.github.com/users/sh19910711/followers","following_url":"https://api.github.com/users/sh19910711/following{/other_user}","gists_url":"https://api.github.com/users/sh19910711/gists{/gist_id}","starred_url":"https://api.github.com/users/sh19910711/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh19910711/subscriptions","organizations_url":"https://api.github.com/users/sh19910711/orgs","repos_url":"https://api.github.com/users/sh19910711/repos","events_url":"https://api.github.com/users/sh19910711/events{/privacy}","received_events_url":"https://api.github.com/users/sh19910711/received_events","type":"User","site_admin":false},"body":"This custom response header would be used by browser extensions.\r\n\r\n* Add `X-Web-Console-Session-Id` to response headers\r\n* Add tests for the custom header\r\n\r\nExample of response headers:\r\n\r\n```diff\r\n  HTTP/1.1 500 Internal Server Error\r\n  Content-Type: text/html; charset=utf-8\r\n  Content-Length: 121277\r\n+ X-Web-Console-Session-Id: 04251d0e07dd0ee018f8fe9ac3abf1a7\r\n  X-Request-Id: d4af31ab-aeff-4063-990e-ef28f80ddefb\r\n  X-Runtime: 0.102495\r\n  Server: WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)\r\n  Date: Fri, 26 Jun 2015 17:05:36 GMT\r\n  Connection: Keep-Alive\r\n```","created_at":"2015-06-26T17:11:15Z","updated_at":"2015-07-10T16:24:23Z","closed_at":"2015-07-10T16:24:23Z","merged_at":"2015-07-10T16:24:23Z","merge_commit_sha":"227eb8ebac39f643d99ab7f83f452706cf88be9a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/web-console/pulls/146/commits","review_comments_url":"https://api.github.com/repos/rails/web-console/pulls/146/comments","review_comment_url":"https://api.github.com/repos/rails/web-console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/web-console/issues/146/comments","statuses_url":"https://api.github.com/repos/rails/web-console/statuses/aa386b7c4dab23e04a9123e0fe1759e8d5567700","head":{"label":"sh19910711:patch/0010/add-custom-header","ref":"patch/0010/add-custom-header","sha":"aa386b7c4dab23e04a9123e0fe1759e8d5567700","user":{"login":"sh19910711","id":1015222,"avatar_url":"https://avatars.githubusercontent.com/u/1015222?v=3","gravatar_id":"","url":"https://api.github.com/users/sh19910711","html_url":"https://github.com/sh19910711","followers_url":"https://api.github.com/users/sh19910711/followers","following_url":"https://api.github.com/users/sh19910711/following{/other_user}","gists_url":"https://api.github.com/users/sh19910711/gists{/gist_id}","starred_url":"https://api.github.com/users/sh19910711/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh19910711/subscriptions","organizations_url":"https://api.github.com/users/sh19910711/orgs","repos_url":"https://api.github.com/users/sh19910711/repos","events_url":"https://api.github.com/users/sh19910711/events{/privacy}","received_events_url":"https://api.github.com/users/sh19910711/received_events","type":"User","site_admin":false},"repo":{"id":33766225,"name":"web-console","full_name":"sh19910711/web-console","owner":{"login":"sh19910711","id":1015222,"avatar_url":"https://avatars.githubusercontent.com/u/1015222?v=3","gravatar_id":"","url":"https://api.github.com/users/sh19910711","html_url":"https://github.com/sh19910711","followers_url":"https://api.github.com/users/sh19910711/followers","following_url":"https://api.github.com/users/sh19910711/following{/other_user}","gists_url":"https://api.github.com/users/sh19910711/gists{/gist_id}","starred_url":"https://api.github.com/users/sh19910711/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh19910711/subscriptions","organizations_url":"https://api.github.com/users/sh19910711/orgs","repos_url":"https://api.github.com/users/sh19910711/repos","events_url":"https://api.github.com/users/sh19910711/events{/privacy}","received_events_url":"https://api.github.com/users/sh19910711/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sh19910711/web-console","description":"Rails Console on the Browser.","fork":true,"url":"https://api.github.com/repos/sh19910711/web-console","forks_url":"https://api.github.com/repos/sh19910711/web-console/forks","keys_url":"https://api.github.com/repos/sh19910711/web-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sh19910711/web-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sh19910711/web-console/teams","hooks_url":"https://api.github.com/repos/sh19910711/web-console/hooks","issue_events_url":"https://api.github.com/repos/sh19910711/web-console/issues/events{/number}","events_url":"https://api.github.com/repos/sh19910711/web-console/events","assignees_url":"https://api.github.com/repos/sh19910711/web-console/assignees{/user}","branches_url":"https://api.github.com/repos/sh19910711/web-console/branches{/branch}","tags_url":"https://api.github.com/repos/sh19910711/web-console/tags","blobs_url":"https://api.github.com/repos/sh19910711/web-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sh19910711/web-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sh19910711/web-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/sh19910711/web-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sh19910711/web-console/statuses/{sha}","languages_url":"https://api.github.com/repos/sh19910711/web-console/languages","stargazers_url":"https://api.github.com/repos/sh19910711/web-console/stargazers","contributors_url":"https://api.github.com/repos/sh19910711/web-console/contributors","subscribers_url":"https://api.github.com/repos/sh19910711/web-console/subscribers","subscription_url":"https://api.github.com/repos/sh19910711/web-console/subscription","commits_url":"https://api.github.com/repos/sh19910711/web-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/sh19910711/web-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/sh19910711/web-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/sh19910711/web-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/sh19910711/web-console/contents/{+path}","compare_url":"https://api.github.com/repos/sh19910711/web-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sh19910711/web-console/merges","archive_url":"https://api.github.com/repos/sh19910711/web-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sh19910711/web-console/downloads","issues_url":"https://api.github.com/repos/sh19910711/web-console/issues{/number}","pulls_url":"https://api.github.com/repos/sh19910711/web-console/pulls{/number}","milestones_url":"https://api.github.com/repos/sh19910711/web-console/milestones{/number}","notifications_url":"https://api.github.com/repos/sh19910711/web-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sh19910711/web-console/labels{/name}","releases_url":"https://api.github.com/repos/sh19910711/web-console/releases{/id}","created_at":"2015-04-11T07:01:04Z","updated_at":"2015-04-24T23:55:01Z","pushed_at":"2015-07-08T15:45:06Z","git_url":"git://github.com/sh19910711/web-console.git","ssh_url":"git@github.com:sh19910711/web-console.git","clone_url":"https://github.com/sh19910711/web-console.git","svn_url":"https://github.com/sh19910711/web-console","homepage":"","size":1379,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rails:master","ref":"master","sha":"78fb26215d3053f92fd8e49f18f1975de540b5c5","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":12496351,"name":"web-console","full_name":"rails/web-console","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/web-console","description":"Rails Console on the Browser.","fork":true,"url":"https://api.github.com/repos/rails/web-console","forks_url":"https://api.github.com/repos/rails/web-console/forks","keys_url":"https://api.github.com/repos/rails/web-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/web-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/web-console/teams","hooks_url":"https://api.github.com/repos/rails/web-console/hooks","issue_events_url":"https://api.github.com/repos/rails/web-console/issues/events{/number}","events_url":"https://api.github.com/repos/rails/web-console/events","assignees_url":"https://api.github.com/repos/rails/web-console/assignees{/user}","branches_url":"https://api.github.com/repos/rails/web-console/branches{/branch}","tags_url":"https://api.github.com/repos/rails/web-console/tags","blobs_url":"https://api.github.com/repos/rails/web-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/web-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/web-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/web-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/web-console/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/web-console/languages","stargazers_url":"https://api.github.com/repos/rails/web-console/stargazers","contributors_url":"https://api.github.com/repos/rails/web-console/contributors","subscribers_url":"https://api.github.com/repos/rails/web-console/subscribers","subscription_url":"https://api.github.com/repos/rails/web-console/subscription","commits_url":"https://api.github.com/repos/rails/web-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/web-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/web-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/web-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/web-console/contents/{+path}","compare_url":"https://api.github.com/repos/rails/web-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/web-console/merges","archive_url":"https://api.github.com/repos/rails/web-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/web-console/downloads","issues_url":"https://api.github.com/repos/rails/web-console/issues{/number}","pulls_url":"https://api.github.com/repos/rails/web-console/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/web-console/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/web-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/web-console/labels{/name}","releases_url":"https://api.github.com/repos/rails/web-console/releases{/id}","created_at":"2013-08-30T21:57:37Z","updated_at":"2015-07-09T17:38:25Z","pushed_at":"2015-07-10T16:24:23Z","git_url":"git://github.com/rails/web-console.git","ssh_url":"git@github.com:rails/web-console.git","clone_url":"https://github.com/rails/web-console.git","svn_url":"https://github.com/rails/web-console","homepage":"","size":2081,"stargazers_count":810,"watchers_count":810,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":13,"forks":71,"open_issues":13,"watchers":810,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/web-console/pulls/146"},"html":{"href":"https://github.com/rails/web-console/pull/146"},"issue":{"href":"https://api.github.com/repos/rails/web-console/issues/146"},"comments":{"href":"https://api.github.com/repos/rails/web-console/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/web-console/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/web-console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/web-console/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/rails/web-console/statuses/aa386b7c4dab23e04a9123e0fe1759e8d5567700"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gsamokovarov","id":604618,"avatar_url":"https://avatars.githubusercontent.com/u/604618?v=3","gravatar_id":"","url":"https://api.github.com/users/gsamokovarov","html_url":"https://github.com/gsamokovarov","followers_url":"https://api.github.com/users/gsamokovarov/followers","following_url":"https://api.github.com/users/gsamokovarov/following{/other_user}","gists_url":"https://api.github.com/users/gsamokovarov/gists{/gist_id}","starred_url":"https://api.github.com/users/gsamokovarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsamokovarov/subscriptions","organizations_url":"https://api.github.com/users/gsamokovarov/orgs","repos_url":"https://api.github.com/users/gsamokovarov/repos","events_url":"https://api.github.com/users/gsamokovarov/events{/privacy}","received_events_url":"https://api.github.com/users/gsamokovarov/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":9,"deletions":0,"changed_files":2}}