panwenbin / yii2-cors-options-filter
Yii2 Filter for cors options requests
0.1.1
2018-06-10 09:20 UTC
Requires
- php: >=5.4.0
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-04 17:33:51 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