filters\Cors $cors

$cors public property

Basic headers handled for the CORS requests.

public array $cors = ['Origin' => ['*'], 'Access-Control-Request-Method' => ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS'], 'Access-Control-Request-Headers' => ['*'], 'Access-Control-Allow-Credentials' => null, 'Access-Control-Max-Age' => 86400, 'Access-Control-Expose-Headers' => []]
doc_Yii
2016-10-30 17:02:35
Comments
Leave a Comment

Please login to continue.