Add upgrade note about HeadersAlreadySentException

This commit is contained in:
Alexander Makarov
2020-03-04 16:23:40 +03:00
parent 0660011f53
commit bc0770cf67

View File

@ -286,6 +286,9 @@ Upgrade from Yii 2.0.13
* In case you aren't using CSRF cookies (REST APIs etc.) you should turn them off explicitly by setting * In case you aren't using CSRF cookies (REST APIs etc.) you should turn them off explicitly by setting
`\yii\web\Request::$enableCsrfCookie` to `false` in your config file. `\yii\web\Request::$enableCsrfCookie` to `false` in your config file.
* Previously headers sent after content output was started were silently ignored. This behavior was changed to throwing
`\yii\web\HeadersAlreadySentException`.
Upgrade from Yii 2.0.12 Upgrade from Yii 2.0.12
----------------------- -----------------------