filters\Cors prepareAllowHeaders()

prepareAllowHeaders() protected method

Handle classic CORS request to avoid duplicate code

protected void prepareAllowHeaders ( $type, $requestHeaders, &$responseHeaders )
$type string

The kind of headers we would handle

$requestHeaders array

CORS headers request by client

$responseHeaders array

CORS response headers sent to the client

doc_Yii
2016-10-30 17:02:37
Comments
Leave a Comment

Please login to continue.