{"action":"closed","number":148,"pull_request":{"url":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/148","id":76579909,"html_url":"https://github.com/h5bp/server-configs-nginx/pull/148","diff_url":"https://github.com/h5bp/server-configs-nginx/pull/148.diff","patch_url":"https://github.com/h5bp/server-configs-nginx/pull/148.patch","issue_url":"https://api.github.com/repos/h5bp/server-configs-nginx/issues/148","number":148,"state":"closed","locked":false,"title":"Always add security-relevant headers to the response, regardless of the response code (implements #147)","user":{"login":"leonklingele","id":5585491,"avatar_url":"https://avatars.githubusercontent.com/u/5585491?v=3","gravatar_id":"","url":"https://api.github.com/users/leonklingele","html_url":"https://github.com/leonklingele","followers_url":"https://api.github.com/users/leonklingele/followers","following_url":"https://api.github.com/users/leonklingele/following{/other_user}","gists_url":"https://api.github.com/users/leonklingele/gists{/gist_id}","starred_url":"https://api.github.com/users/leonklingele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonklingele/subscriptions","organizations_url":"https://api.github.com/users/leonklingele/orgs","repos_url":"https://api.github.com/users/leonklingele/repos","events_url":"https://api.github.com/users/leonklingele/events{/privacy}","received_events_url":"https://api.github.com/users/leonklingele/received_events","type":"User","site_admin":false},"body":"From nginx' add_header documentation:\r\n```\r\nadd_header Adds the specified field to a response header provided that\r\nthe response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307.\r\n```\r\nAt least for all security-relevant headers this should not be the case\r\nand the header should always be added.","created_at":"2016-07-07T11:32:15Z","updated_at":"2016-09-09T14:39:54Z","closed_at":"2016-09-09T14:39:54Z","merged_at":"2016-09-09T14:39:54Z","merge_commit_sha":"cb3dc0554eb54ccfab34bfcf32988dfce1872ec2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/148/commits","review_comments_url":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/148/comments","review_comment_url":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h5bp/server-configs-nginx/issues/148/comments","statuses_url":"https://api.github.com/repos/h5bp/server-configs-nginx/statuses/934eaf3f8750bd3c2545dbcfc21c6785fa3303c7","head":{"label":"leonklingele:add-header-always","ref":"add-header-always","sha":"934eaf3f8750bd3c2545dbcfc21c6785fa3303c7","user":{"login":"leonklingele","id":5585491,"avatar_url":"https://avatars.githubusercontent.com/u/5585491?v=3","gravatar_id":"","url":"https://api.github.com/users/leonklingele","html_url":"https://github.com/leonklingele","followers_url":"https://api.github.com/users/leonklingele/followers","following_url":"https://api.github.com/users/leonklingele/following{/other_user}","gists_url":"https://api.github.com/users/leonklingele/gists{/gist_id}","starred_url":"https://api.github.com/users/leonklingele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonklingele/subscriptions","organizations_url":"https://api.github.com/users/leonklingele/orgs","repos_url":"https://api.github.com/users/leonklingele/repos","events_url":"https://api.github.com/users/leonklingele/events{/privacy}","received_events_url":"https://api.github.com/users/leonklingele/received_events","type":"User","site_admin":false},"repo":{"id":62801427,"name":"server-configs-nginx","full_name":"leonklingele/server-configs-nginx","owner":{"login":"leonklingele","id":5585491,"avatar_url":"https://avatars.githubusercontent.com/u/5585491?v=3","gravatar_id":"","url":"https://api.github.com/users/leonklingele","html_url":"https://github.com/leonklingele","followers_url":"https://api.github.com/users/leonklingele/followers","following_url":"https://api.github.com/users/leonklingele/following{/other_user}","gists_url":"https://api.github.com/users/leonklingele/gists{/gist_id}","starred_url":"https://api.github.com/users/leonklingele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonklingele/subscriptions","organizations_url":"https://api.github.com/users/leonklingele/orgs","repos_url":"https://api.github.com/users/leonklingele/repos","events_url":"https://api.github.com/users/leonklingele/events{/privacy}","received_events_url":"https://api.github.com/users/leonklingele/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leonklingele/server-configs-nginx","description":"Nginx HTTP server boilerplate configs","fork":true,"url":"https://api.github.com/repos/leonklingele/server-configs-nginx","forks_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/forks","keys_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/teams","hooks_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/hooks","issue_events_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/issues/events{/number}","events_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/events","assignees_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/assignees{/user}","branches_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/branches{/branch}","tags_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/tags","blobs_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/languages","stargazers_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/stargazers","contributors_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/contributors","subscribers_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/subscribers","subscription_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/subscription","commits_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/contents/{+path}","compare_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/merges","archive_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/downloads","issues_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/issues{/number}","pulls_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/labels{/name}","releases_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/releases{/id}","deployments_url":"https://api.github.com/repos/leonklingele/server-configs-nginx/deployments","created_at":"2016-07-07T11:22:43Z","updated_at":"2016-07-07T11:22:44Z","pushed_at":"2016-07-07T11:31:22Z","git_url":"git://github.com/leonklingele/server-configs-nginx.git","ssh_url":"git@github.com:leonklingele/server-configs-nginx.git","clone_url":"https://github.com/leonklingele/server-configs-nginx.git","svn_url":"https://github.com/leonklingele/server-configs-nginx","homepage":"","size":175,"stargazers_count":0,"watchers_count":0,"language":"Nginx","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":"h5bp:master","ref":"master","sha":"3f4719b79abd510a07e8a5635b85a53077480237","user":{"login":"h5bp","id":1136800,"avatar_url":"https://avatars.githubusercontent.com/u/1136800?v=3","gravatar_id":"","url":"https://api.github.com/users/h5bp","html_url":"https://github.com/h5bp","followers_url":"https://api.github.com/users/h5bp/followers","following_url":"https://api.github.com/users/h5bp/following{/other_user}","gists_url":"https://api.github.com/users/h5bp/gists{/gist_id}","starred_url":"https://api.github.com/users/h5bp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5bp/subscriptions","organizations_url":"https://api.github.com/users/h5bp/orgs","repos_url":"https://api.github.com/users/h5bp/repos","events_url":"https://api.github.com/users/h5bp/events{/privacy}","received_events_url":"https://api.github.com/users/h5bp/received_events","type":"Organization","site_admin":false},"repo":{"id":11726680,"name":"server-configs-nginx","full_name":"h5bp/server-configs-nginx","owner":{"login":"h5bp","id":1136800,"avatar_url":"https://avatars.githubusercontent.com/u/1136800?v=3","gravatar_id":"","url":"https://api.github.com/users/h5bp","html_url":"https://github.com/h5bp","followers_url":"https://api.github.com/users/h5bp/followers","following_url":"https://api.github.com/users/h5bp/following{/other_user}","gists_url":"https://api.github.com/users/h5bp/gists{/gist_id}","starred_url":"https://api.github.com/users/h5bp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5bp/subscriptions","organizations_url":"https://api.github.com/users/h5bp/orgs","repos_url":"https://api.github.com/users/h5bp/repos","events_url":"https://api.github.com/users/h5bp/events{/privacy}","received_events_url":"https://api.github.com/users/h5bp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/h5bp/server-configs-nginx","description":"Nginx HTTP server boilerplate configs","fork":false,"url":"https://api.github.com/repos/h5bp/server-configs-nginx","forks_url":"https://api.github.com/repos/h5bp/server-configs-nginx/forks","keys_url":"https://api.github.com/repos/h5bp/server-configs-nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h5bp/server-configs-nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h5bp/server-configs-nginx/teams","hooks_url":"https://api.github.com/repos/h5bp/server-configs-nginx/hooks","issue_events_url":"https://api.github.com/repos/h5bp/server-configs-nginx/issues/events{/number}","events_url":"https://api.github.com/repos/h5bp/server-configs-nginx/events","assignees_url":"https://api.github.com/repos/h5bp/server-configs-nginx/assignees{/user}","branches_url":"https://api.github.com/repos/h5bp/server-configs-nginx/branches{/branch}","tags_url":"https://api.github.com/repos/h5bp/server-configs-nginx/tags","blobs_url":"https://api.github.com/repos/h5bp/server-configs-nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h5bp/server-configs-nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h5bp/server-configs-nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/h5bp/server-configs-nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h5bp/server-configs-nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/h5bp/server-configs-nginx/languages","stargazers_url":"https://api.github.com/repos/h5bp/server-configs-nginx/stargazers","contributors_url":"https://api.github.com/repos/h5bp/server-configs-nginx/contributors","subscribers_url":"https://api.github.com/repos/h5bp/server-configs-nginx/subscribers","subscription_url":"https://api.github.com/repos/h5bp/server-configs-nginx/subscription","commits_url":"https://api.github.com/repos/h5bp/server-configs-nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/h5bp/server-configs-nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/h5bp/server-configs-nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/h5bp/server-configs-nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/h5bp/server-configs-nginx/contents/{+path}","compare_url":"https://api.github.com/repos/h5bp/server-configs-nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h5bp/server-configs-nginx/merges","archive_url":"https://api.github.com/repos/h5bp/server-configs-nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h5bp/server-configs-nginx/downloads","issues_url":"https://api.github.com/repos/h5bp/server-configs-nginx/issues{/number}","pulls_url":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/h5bp/server-configs-nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/h5bp/server-configs-nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h5bp/server-configs-nginx/labels{/name}","releases_url":"https://api.github.com/repos/h5bp/server-configs-nginx/releases{/id}","deployments_url":"https://api.github.com/repos/h5bp/server-configs-nginx/deployments","created_at":"2013-07-28T22:19:57Z","updated_at":"2016-09-08T19:24:49Z","pushed_at":"2016-09-09T14:39:54Z","git_url":"git://github.com/h5bp/server-configs-nginx.git","ssh_url":"git@github.com:h5bp/server-configs-nginx.git","clone_url":"https://github.com/h5bp/server-configs-nginx.git","svn_url":"https://github.com/h5bp/server-configs-nginx","homepage":"","size":335,"stargazers_count":4951,"watchers_count":4951,"language":"Nginx","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":625,"mirror_url":null,"open_issues_count":18,"forks":625,"open_issues":18,"watchers":4951,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/148"},"html":{"href":"https://github.com/h5bp/server-configs-nginx/pull/148"},"issue":{"href":"https://api.github.com/repos/h5bp/server-configs-nginx/issues/148"},"comments":{"href":"https://api.github.com/repos/h5bp/server-configs-nginx/issues/148/comments"},"review_comments":{"href":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/148/comments"},"review_comment":{"href":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h5bp/server-configs-nginx/pulls/148/commits"},"statuses":{"href":"https://api.github.com/repos/h5bp/server-configs-nginx/statuses/934eaf3f8750bd3c2545dbcfc21c6785fa3303c7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"AD7six","id":33387,"avatar_url":"https://avatars.githubusercontent.com/u/33387?v=3","gravatar_id":"","url":"https://api.github.com/users/AD7six","html_url":"https://github.com/AD7six","followers_url":"https://api.github.com/users/AD7six/followers","following_url":"https://api.github.com/users/AD7six/following{/other_user}","gists_url":"https://api.github.com/users/AD7six/gists{/gist_id}","starred_url":"https://api.github.com/users/AD7six/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AD7six/subscriptions","organizations_url":"https://api.github.com/users/AD7six/orgs","repos_url":"https://api.github.com/users/AD7six/repos","events_url":"https://api.github.com/users/AD7six/events{/privacy}","received_events_url":"https://api.github.com/users/AD7six/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":7,"changed_files":2}}
{"actor":{"display_login":"AD7six"}}