You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/19 08:19:17 UTC

[GitHub] [apisix] spacewander commented on issue #7082: help request: CORS does not work on OPTIONS

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org