panwenbin/yii2-cors-options-filter

Yii2 Filter for cors options requests

0.1.1 2018-06-10 09:20 UTC

This package is not auto-updated.

Last update: 2024-05-20 15:33:26 UTC


README

Filter for cors options request. When Yii2 version below 2.0.15.1, options request will be handled with the action method. see commit . It should only return headers and not do the action. This filter can used at Yii2 version below 2.0.15.1.

Note: Access-Control-* options must be set in Cors Filter