{"action":"created","issue":{"url":"https://api.github.com/repos/lichunqiang/yii2-xmlparser/issues/4","repository_url":"https://api.github.com/repos/lichunqiang/yii2-xmlparser","labels_url":"https://api.github.com/repos/lichunqiang/yii2-xmlparser/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/lichunqiang/yii2-xmlparser/issues/4/comments","events_url":"https://api.github.com/repos/lichunqiang/yii2-xmlparser/issues/4/events","html_url":"https://github.com/lichunqiang/yii2-xmlparser/issues/4","id":149611433,"number":4,"title":"I cannot use it!","user":{"login":"dantux","id":3638646,"avatar_url":"https://avatars.githubusercontent.com/u/3638646?v=3","gravatar_id":"","url":"https://api.github.com/users/dantux","html_url":"https://github.com/dantux","followers_url":"https://api.github.com/users/dantux/followers","following_url":"https://api.github.com/users/dantux/following{/other_user}","gists_url":"https://api.github.com/users/dantux/gists{/gist_id}","starred_url":"https://api.github.com/users/dantux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantux/subscriptions","organizations_url":"https://api.github.com/users/dantux/orgs","repos_url":"https://api.github.com/users/dantux/repos","events_url":"https://api.github.com/users/dantux/events{/privacy}","received_events_url":"https://api.github.com/users/dantux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T23:28:51Z","updated_at":"2016-04-19T23:34:45Z","closed_at":null,"body":"Hello,\r\n\r\nWhen I add to the app config, and I load a page, this is what I get:\r\n\r\n    `Setting read-only property: yii\\web\\Application::request`\r\nMy app config has it like this\r\n\r\n`\r\nreturn [\r\n    'request'=> [\r\n        'parsers'=> [\r\n            'text/xml'=>'light\\yii2\\XmlParser',\r\n            'application/xml'=>'light\\yii2\\XmlParser',\r\n        ],\r\n    ],\r\n    'components' => [..]\r\n]\r\n:`\r\nAny ideas what am I doing wrong?"},"comment":{"url":"https://api.github.com/repos/lichunqiang/yii2-xmlparser/issues/comments/212171299","html_url":"https://github.com/lichunqiang/yii2-xmlparser/issues/4#issuecomment-212171299","issue_url":"https://api.github.com/repos/lichunqiang/yii2-xmlparser/issues/4","id":212171299,"user":{"login":"dantux","id":3638646,"avatar_url":"https://avatars.githubusercontent.com/u/3638646?v=3","gravatar_id":"","url":"https://api.github.com/users/dantux","html_url":"https://github.com/dantux","followers_url":"https://api.github.com/users/dantux/followers","following_url":"https://api.github.com/users/dantux/following{/other_user}","gists_url":"https://api.github.com/users/dantux/gists{/gist_id}","starred_url":"https://api.github.com/users/dantux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantux/subscriptions","organizations_url":"https://api.github.com/users/dantux/orgs","repos_url":"https://api.github.com/users/dantux/repos","events_url":"https://api.github.com/users/dantux/events{/privacy}","received_events_url":"https://api.github.com/users/dantux/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T23:34:45Z","updated_at":"2016-04-19T23:34:45Z","body":"Sorry, to write this as an issue, but I just added it to the components (which was not obvious at first). How do I use it if I want to import an external XML file?\r\n\r\nThanks!\r\n"}}