{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/12100","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/12100/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/12100/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/12100/events","html_url":"https://github.com/yiisoft/yii2/issues/12100","id":169803994,"number":12100,"title":"Empty Pragma header in HttpCache","user":{"login":"sergeymakinen","id":983964,"avatar_url":"https://avatars.githubusercontent.com/u/983964?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeymakinen","html_url":"https://github.com/sergeymakinen","followers_url":"https://api.github.com/users/sergeymakinen/followers","following_url":"https://api.github.com/users/sergeymakinen/following{/other_user}","gists_url":"https://api.github.com/users/sergeymakinen/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeymakinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeymakinen/subscriptions","organizations_url":"https://api.github.com/users/sergeymakinen/orgs","repos_url":"https://api.github.com/users/sergeymakinen/repos","events_url":"https://api.github.com/users/sergeymakinen/events{/privacy}","received_events_url":"https://api.github.com/users/sergeymakinen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:to%20be%20verified","name":"status:to be verified","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/9","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.x","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/9/labels","id":831720,"number":9,"title":"2.0.x","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":429,"closed_issues":2,"state":"open","created_at":"2014-10-19T13:49:45Z","updated_at":"2016-08-09T11:19:55Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-08-07T16:24:38Z","updated_at":"2016-08-09T12:59:33Z","closed_at":null,"body":"### What steps will reproduce the problem?\r\n\r\nDefine any callback in `HttpCache` and check for output headers.\r\n\r\n### What is the expected result?\r\n\r\nNo empty `Pragma` header or a `Pragma` header with some value (according to 14.32 of the [spec](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html)). It looks like there should be no `Pragma` at all.\r\n\r\n### What do you get instead?\r\n\r\nEmpty `Pragma` header (see the [source code](https://github.com/yiisoft/yii2/blob/master/framework/filters/HttpCache.php#L192)).\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii version      | 2.0.9\r\n| PHP version      | 5.6.23\r\n| Operating system | Debian"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/238544681","html_url":"https://github.com/yiisoft/yii2/issues/12100#issuecomment-238544681","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/12100","id":238544681,"user":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T12:59:33Z","updated_at":"2016-08-09T12:59:33Z","body":"since https://github.com/yiisoft/yii2/commit/f2d477dce6ab0d5f215e8a4e285e8eda646eb673#diff-9b712893364682c254348705f9821220L116 this call should not be necessary anymore since the header will be removed by http://php.net/manual/en/function.session-cache-limiter.php so it should be fine to remove the call."}}
{"actor":{"display_login":"cebe"}}