mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Fixes #6889 doc fix [skip ci]
This commit is contained in:
@ -87,7 +87,7 @@ class Response extends \yii\base\Response
|
|||||||
* - [[FORMAT_RAW]]: the data will be treated as the response content without any conversion.
|
* - [[FORMAT_RAW]]: the data will be treated as the response content without any conversion.
|
||||||
* No extra HTTP header will be added.
|
* No extra HTTP header will be added.
|
||||||
* - [[FORMAT_HTML]]: the data will be treated as the response content without any conversion.
|
* - [[FORMAT_HTML]]: the data will be treated as the response content without any conversion.
|
||||||
* The "Content-Type" header will set as "text/html" if it is not set previously.
|
* The "Content-Type" header will set as "text/html".
|
||||||
* - [[FORMAT_JSON]]: the data will be converted into JSON format, and the "Content-Type"
|
* - [[FORMAT_JSON]]: the data will be converted into JSON format, and the "Content-Type"
|
||||||
* header will be set as "application/json".
|
* header will be set as "application/json".
|
||||||
* - [[FORMAT_JSONP]]: the data will be converted into JSONP format, and the "Content-Type"
|
* - [[FORMAT_JSONP]]: the data will be converted into JSONP format, and the "Content-Type"
|
||||||
|
|||||||
Reference in New Issue
Block a user