|
|
|
@ -103,13 +103,13 @@ class Response extends \yii\base\Response
|
|
|
|
|
public $format = self::FORMAT_HTML; |
|
|
|
|
/** |
|
|
|
|
* @var string the MIME type (e.g. `application/json`) from the request ACCEPT header chosen for this response. |
|
|
|
|
* This property is mainly set by [\yii\filters\ContentNegotiator]]. |
|
|
|
|
* This property is mainly set by [[\yii\filters\ContentNegotiator]]. |
|
|
|
|
*/ |
|
|
|
|
public $acceptMimeType; |
|
|
|
|
/** |
|
|
|
|
* @var array the parameters (e.g. `['q' => 1, 'version' => '1.0']`) associated with the [[acceptMimeType|chosen MIME type]]. |
|
|
|
|
* This is a list of name-value pairs associated with [[acceptMimeType]] from the ACCEPT HTTP header. |
|
|
|
|
* This property is mainly set by [\yii\filters\ContentNegotiator]]. |
|
|
|
|
* This property is mainly set by [[\yii\filters\ContentNegotiator]]. |
|
|
|
|
*/ |
|
|
|
|
public $acceptParams = []; |
|
|
|
|
/** |
|
|
|
|