yiisoft/yii — pull request #2059 by radzserg (2013-01-31 13:15:24+00:00)
Title: Get json encoded data from POST and PUT requests

Added ability to get json encoded data from POST and PUT requests. I check $_SERVER['CONTENT_TYPE'] and then getRawBody() and decode it by CJSON. Also made some properties protected. Cause if you want to extend base CHttpRequest by your class you can't have ability to work with private properties.