[BUG] Preflight Requests are missing their CORS headers when using Varnish
damienwebdev opened this issue Β· comments
Damien Retzinger commented
π Bug report
Current Behavior
Currently, it appears as if the preflight request is being interpreted as a "GET".
Expected Behavior
I want cached options requests.
Minimal reproduction of the problem with instructions
Make an options request with varnish.
What is the motivation / use case for changing the behavior?
Performance improvements at scale.
Environment
magento2-cors version: 1.4.0
Magento version: 2.4.1
PHP Version version: any