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 |
Please login to continue.