{"action":"opened","number":4719,"pull_request":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/4719","id":177565658,"html_url":"https://github.com/mozilla/kuma/pull/4719","diff_url":"https://github.com/mozilla/kuma/pull/4719.diff","patch_url":"https://github.com/mozilla/kuma/pull/4719.patch","issue_url":"https://api.github.com/repos/mozilla/kuma/issues/4719","number":4719,"state":"open","locked":false,"title":"bug 1431259: caching headers/tests for wiki document views","user":{"login":"escattone","id":3743693,"avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"body":"This PR depends on #4701 for it's tests to pass.\r\n\r\nThis is another in a series of PR's that add the appropriate caching headers and related tests to all Kuma endpoints as part of the effort of placing a CDN in front of MDN. This PR adds/modifies caching headers and tests for the views within `kuma/wiki/views/document.py`.","created_at":"2018-03-26T20:56:42Z","updated_at":"2018-03-26T20:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"jwhitlock","id":286017,"avatar_url":"https://avatars0.githubusercontent.com/u/286017?v=4","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":876515778,"url":"https://api.github.com/repos/mozilla/kuma/labels/CDN%20for%20developer.mozilla.org","name":"CDN for developer.mozilla.org","color":"c9aeef","default":false},{"id":87517759,"url":"https://api.github.com/repos/mozilla/kuma/labels/not%20ready","name":"not ready","color":"f7c6c7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/kuma/pulls/4719/commits","review_comments_url":"https://api.github.com/repos/mozilla/kuma/pulls/4719/comments","review_comment_url":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/kuma/issues/4719/comments","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/c680368737d9a3ffb25718f0f3f776b00b5283e2","head":{"label":"escattone:cache-control-headers-wiki-document-1431259","ref":"cache-control-headers-wiki-document-1431259","sha":"c680368737d9a3ffb25718f0f3f776b00b5283e2","user":{"login":"escattone","id":3743693,"avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"repo":{"id":69504221,"name":"kuma","full_name":"escattone/kuma","owner":{"login":"escattone","id":3743693,"avatar_url":"https://avatars2.githubusercontent.com/u/3743693?v=4","gravatar_id":"","url":"https://api.github.com/users/escattone","html_url":"https://github.com/escattone","followers_url":"https://api.github.com/users/escattone/followers","following_url":"https://api.github.com/users/escattone/following{/other_user}","gists_url":"https://api.github.com/users/escattone/gists{/gist_id}","starred_url":"https://api.github.com/users/escattone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escattone/subscriptions","organizations_url":"https://api.github.com/users/escattone/orgs","repos_url":"https://api.github.com/users/escattone/repos","events_url":"https://api.github.com/users/escattone/events{/privacy}","received_events_url":"https://api.github.com/users/escattone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/escattone/kuma","description":"The project that powers MDN.","fork":true,"url":"https://api.github.com/repos/escattone/kuma","forks_url":"https://api.github.com/repos/escattone/kuma/forks","keys_url":"https://api.github.com/repos/escattone/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/escattone/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/escattone/kuma/teams","hooks_url":"https://api.github.com/repos/escattone/kuma/hooks","issue_events_url":"https://api.github.com/repos/escattone/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/escattone/kuma/events","assignees_url":"https://api.github.com/repos/escattone/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/escattone/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/escattone/kuma/tags","blobs_url":"https://api.github.com/repos/escattone/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/escattone/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/escattone/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/escattone/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/escattone/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/escattone/kuma/languages","stargazers_url":"https://api.github.com/repos/escattone/kuma/stargazers","contributors_url":"https://api.github.com/repos/escattone/kuma/contributors","subscribers_url":"https://api.github.com/repos/escattone/kuma/subscribers","subscription_url":"https://api.github.com/repos/escattone/kuma/subscription","commits_url":"https://api.github.com/repos/escattone/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/escattone/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/escattone/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/escattone/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/escattone/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/escattone/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/escattone/kuma/merges","archive_url":"https://api.github.com/repos/escattone/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/escattone/kuma/downloads","issues_url":"https://api.github.com/repos/escattone/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/escattone/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/escattone/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/escattone/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/escattone/kuma/labels{/name}","releases_url":"https://api.github.com/repos/escattone/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/escattone/kuma/deployments","created_at":"2016-09-28T21:13:11Z","updated_at":"2018-03-21T19:21:03Z","pushed_at":"2018-03-26T19:27:59Z","git_url":"git://github.com/escattone/kuma.git","ssh_url":"git@github.com:escattone/kuma.git","clone_url":"https://github.com/escattone/kuma.git","svn_url":"https://github.com/escattone/kuma","homepage":"https://developer.mozilla.org","size":203476,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"9f1d764fb53e6504beb86c4ad1ddc695b7d8a342","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"name":"kuma","full_name":"mozilla/kuma","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/kuma","description":"The project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kuma/deployments","created_at":"2011-02-10T21:48:06Z","updated_at":"2018-03-26T15:54:28Z","pushed_at":"2018-03-26T20:56:43Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":203415,"stargazers_count":1223,"watchers_count":1223,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":618,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0"},"forks":618,"open_issues":15,"watchers":1223,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4719"},"html":{"href":"https://github.com/mozilla/kuma/pull/4719"},"issue":{"href":"https://api.github.com/repos/mozilla/kuma/issues/4719"},"comments":{"href":"https://api.github.com/repos/mozilla/kuma/issues/4719/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4719/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4719/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/kuma/statuses/c680368737d9a3ffb25718f0f3f776b00b5283e2"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":448,"deletions":254,"changed_files":4}}
{"actor":{"display_login":"escattone"}}