Yii 2.0.3 sendContent bug

Hello.

In yii 2.0.3 in file Response.php (vendor\yiisoft\yii2\web\Response.php) in function [prepare] in 923 sting number I found:




if ($this->stream !== null) {

            return;

        }



instead of (in yii 2.0.2):




if ($this->stream !== null || $this->data === null) {

            return;

        }



and now function Yii::$app->response->sendContentAsFile() does not work.

I think this is bug! :)

Yes. Already fixed in master.