yiisoft/yii — pull request #346 by phpnode (2012-02-16 19:39:10+00:00)
Title: 303 Add a CHttpResponse class for better distinction of responsibilities

This change allows response objects to be created and (optionally) returned by a controller action. Provides methods for adding headers, encoding JSON, JSONP, XML, sending files etc.

This pull request probably isn't ready to be merged yet, it's just here for feedback