{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8331","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8331/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8331/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8331/events","html_url":"https://github.com/yiisoft/yii2/issues/8331","id":74508482,"number":8331,"title":"yii\\rest\\ActiveController ignores `Accept-encoding: gzip` when `Accept: application/xml`","user":{"login":"hbschr","id":8751073,"avatar_url":"https://avatars.githubusercontent.com/u/8751073?v=3","gravatar_id":"","url":"https://api.github.com/users/hbschr","html_url":"https://github.com/hbschr","followers_url":"https://api.github.com/users/hbschr/followers","following_url":"https://api.github.com/users/hbschr/following{/other_user}","gists_url":"https://api.github.com/users/hbschr/gists{/gist_id}","starred_url":"https://api.github.com/users/hbschr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbschr/subscriptions","organizations_url":"https://api.github.com/users/hbschr/orgs","repos_url":"https://api.github.com/users/hbschr/repos","events_url":"https://api.github.com/users/hbschr/events{/privacy}","received_events_url":"https://api.github.com/users/hbschr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-08T21:54:45Z","updated_at":"2015-05-08T21:54:45Z","closed_at":null,"body":"i was building a rest api (hopefully) following the guide.\r\n`https://<foo>/device` gives the 'index'-action. comparing the two requests:\r\n```\r\ncurl -i https://<foo>/device -H \"Accept-encoding: gzip\" -H \"Accept:application/json\" \r\ncurl -i https://<foo>/device -H \"Accept-encoding: gzip\" -H \"Accept:application/xml\" \r\n```\r\ngives gzipped json, but uncompressed xml.\r\n\r\ncan anyone reproduce this?"}}