From 96c4ec88cac7332c9be1884c7fa3f03ca8bf8dbd Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sat, 17 Jan 2015 19:12:48 -0500 Subject: [PATCH] Fixes #6889 doc fix [skip ci] --- framework/web/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/web/Response.php b/framework/web/Response.php index 866dc48f91..ab247444b8 100644 --- a/framework/web/Response.php +++ b/framework/web/Response.php @@ -87,7 +87,7 @@ class Response extends \yii\base\Response * - [[FORMAT_RAW]]: the data will be treated as the response content without any conversion. * No extra HTTP header will be added. * - [[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" * header will be set as "application/json". * - [[FORMAT_JSONP]]: the data will be converted into JSONP format, and the "Content-Type"