{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/29112671","id":29112671,"diff_hunk":"@@ -134,6 +134,9 @@ def add_never_cache_headers(response):\n     Adds headers to a response to indicate that a page should never be cached.\n     \"\"\"\n     patch_response_headers(response, cache_timeout=-1)\n+    patch_cache_control(response, no_cache=True)\n+    patch_cache_control(response, no_store=True)\n+    patch_cache_control(response, must_revalidate=True)","path":"django/utils/cache.py","position":6,"original_position":6,"commit_id":"a75d13232d3c6ab5b1774a50f6c2933955982187","original_commit_id":"a75d13232d3c6ab5b1774a50f6c2933955982187","user":{"login":"claudep","id":143192,"avatar_url":"https://avatars.githubusercontent.com/u/143192?v=3","gravatar_id":"","url":"https://api.github.com/users/claudep","html_url":"https://github.com/claudep","followers_url":"https://api.github.com/users/claudep/followers","following_url":"https://api.github.com/users/claudep/following{/other_user}","gists_url":"https://api.github.com/users/claudep/gists{/gist_id}","starred_url":"https://api.github.com/users/claudep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudep/subscriptions","organizations_url":"https://api.github.com/users/claudep/orgs","repos_url":"https://api.github.com/users/claudep/repos","events_url":"https://api.github.com/users/claudep/events{/privacy}","received_events_url":"https://api.github.com/users/claudep/received_events","type":"User","site_admin":false},"body":"I think that `patch_cache_control` can accept multiple keywords in a single call.","created_at":"2015-04-26T19:00:37Z","updated_at":"2015-04-26T19:00:37Z","html_url":"https://github.com/django/django/pull/4565#discussion_r29112671","pull_request_url":"https://api.github.com/repos/django/django/pulls/4565","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/29112671"},"html":{"href":"https://github.com/django/django/pull/4565#discussion_r29112671"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/4565"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/4565","id":34126348,"html_url":"https://github.com/django/django/pull/4565","diff_url":"https://github.com/django/django/pull/4565.diff","patch_url":"https://github.com/django/django/pull/4565.patch","issue_url":"https://api.github.com/repos/django/django/issues/4565","number":4565,"state":"open","locked":false,"title":"Fixed #13008 -- Changed never_cache to effect actually never caching.","user":{"login":"mbertheau","id":133575,"avatar_url":"https://avatars.githubusercontent.com/u/133575?v=3","gravatar_id":"","url":"https://api.github.com/users/mbertheau","html_url":"https://github.com/mbertheau","followers_url":"https://api.github.com/users/mbertheau/followers","following_url":"https://api.github.com/users/mbertheau/following{/other_user}","gists_url":"https://api.github.com/users/mbertheau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbertheau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbertheau/subscriptions","organizations_url":"https://api.github.com/users/mbertheau/orgs","repos_url":"https://api.github.com/users/mbertheau/repos","events_url":"https://api.github.com/users/mbertheau/events{/privacy}","received_events_url":"https://api.github.com/users/mbertheau/received_events","type":"User","site_admin":false},"body":"https://code.djangoproject.com/ticket/13008","created_at":"2015-04-26T17:20:03Z","updated_at":"2015-04-26T19:00:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89dab1f11ef990ed5bd5aa515799458621e6a65e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/4565/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/4565/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/4565/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/a75d13232d3c6ab5b1774a50f6c2933955982187","head":{"label":"mbertheau:13008-never-cache","ref":"13008-never-cache","sha":"a75d13232d3c6ab5b1774a50f6c2933955982187","user":{"login":"mbertheau","id":133575,"avatar_url":"https://avatars.githubusercontent.com/u/133575?v=3","gravatar_id":"","url":"https://api.github.com/users/mbertheau","html_url":"https://github.com/mbertheau","followers_url":"https://api.github.com/users/mbertheau/followers","following_url":"https://api.github.com/users/mbertheau/following{/other_user}","gists_url":"https://api.github.com/users/mbertheau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbertheau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbertheau/subscriptions","organizations_url":"https://api.github.com/users/mbertheau/orgs","repos_url":"https://api.github.com/users/mbertheau/repos","events_url":"https://api.github.com/users/mbertheau/events{/privacy}","received_events_url":"https://api.github.com/users/mbertheau/received_events","type":"User","site_admin":false},"repo":{"id":19273520,"name":"django","full_name":"mbertheau/django","owner":{"login":"mbertheau","id":133575,"avatar_url":"https://avatars.githubusercontent.com/u/133575?v=3","gravatar_id":"","url":"https://api.github.com/users/mbertheau","html_url":"https://github.com/mbertheau","followers_url":"https://api.github.com/users/mbertheau/followers","following_url":"https://api.github.com/users/mbertheau/following{/other_user}","gists_url":"https://api.github.com/users/mbertheau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbertheau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbertheau/subscriptions","organizations_url":"https://api.github.com/users/mbertheau/orgs","repos_url":"https://api.github.com/users/mbertheau/repos","events_url":"https://api.github.com/users/mbertheau/events{/privacy}","received_events_url":"https://api.github.com/users/mbertheau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbertheau/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/mbertheau/django","forks_url":"https://api.github.com/repos/mbertheau/django/forks","keys_url":"https://api.github.com/repos/mbertheau/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbertheau/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbertheau/django/teams","hooks_url":"https://api.github.com/repos/mbertheau/django/hooks","issue_events_url":"https://api.github.com/repos/mbertheau/django/issues/events{/number}","events_url":"https://api.github.com/repos/mbertheau/django/events","assignees_url":"https://api.github.com/repos/mbertheau/django/assignees{/user}","branches_url":"https://api.github.com/repos/mbertheau/django/branches{/branch}","tags_url":"https://api.github.com/repos/mbertheau/django/tags","blobs_url":"https://api.github.com/repos/mbertheau/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbertheau/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbertheau/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbertheau/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbertheau/django/statuses/{sha}","languages_url":"https://api.github.com/repos/mbertheau/django/languages","stargazers_url":"https://api.github.com/repos/mbertheau/django/stargazers","contributors_url":"https://api.github.com/repos/mbertheau/django/contributors","subscribers_url":"https://api.github.com/repos/mbertheau/django/subscribers","subscription_url":"https://api.github.com/repos/mbertheau/django/subscription","commits_url":"https://api.github.com/repos/mbertheau/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbertheau/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbertheau/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbertheau/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbertheau/django/contents/{+path}","compare_url":"https://api.github.com/repos/mbertheau/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbertheau/django/merges","archive_url":"https://api.github.com/repos/mbertheau/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbertheau/django/downloads","issues_url":"https://api.github.com/repos/mbertheau/django/issues{/number}","pulls_url":"https://api.github.com/repos/mbertheau/django/pulls{/number}","milestones_url":"https://api.github.com/repos/mbertheau/django/milestones{/number}","notifications_url":"https://api.github.com/repos/mbertheau/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbertheau/django/labels{/name}","releases_url":"https://api.github.com/repos/mbertheau/django/releases{/id}","created_at":"2014-04-29T11:04:48Z","updated_at":"2015-04-26T17:11:42Z","pushed_at":"2015-04-26T18:00:26Z","git_url":"git://github.com/mbertheau/django.git","ssh_url":"git@github.com:mbertheau/django.git","clone_url":"https://github.com/mbertheau/django.git","svn_url":"https://github.com/mbertheau/django","homepage":"http://www.djangoproject.com/","size":111349,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"django:master","ref":"master","sha":"40768ec29dc0a38c3b824b32c1a9167c0e8b5ee0","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-04-26T17:21:33Z","pushed_at":"2015-04-26T18:00:29Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":285442,"stargazers_count":13940,"watchers_count":13940,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5537,"mirror_url":null,"open_issues_count":65,"forks":5537,"open_issues":65,"watchers":13940,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/4565"},"html":{"href":"https://github.com/django/django/pull/4565"},"issue":{"href":"https://api.github.com/repos/django/django/issues/4565"},"comments":{"href":"https://api.github.com/repos/django/django/issues/4565/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/4565/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/4565/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/a75d13232d3c6ab5b1774a50f6c2933955982187"}}}}