spacewander commented on issue #7082:
URL: https://github.com/apache/apisix/issues/7082#issuecomment-1131387722

   Let's add OPTIONS to the route's methods when adding the CORS plugin.
   
   > OPTIONS shouldn't apply advanced match conditions
   
   We can't do it by default. Because if CORS plugin is not set,  there is no 
way to handle OPTIONS requests in APISIX. And it doesn't work well in the case 
that requests in different methods will be routed to different routes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to