Commit 96c4ec88 by Qiang Xue

Fixes #6889 doc fix [skip ci]

parent 7031020c
...@@ -87,7 +87,7 @@ class Response extends \yii\base\Response ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment