tzssangglass commented on issue #5637:
URL: https://github.com/apache/apisix/issues/5637#issuecomment-981510117


   first, it's great that you can adapt APISIX's plug-ins to meet your business 
needs yourself.
   
   > 按照官方说法这样配置就可以有跨域效果,实则不然,这样浏览器调用还会有问题的,还是会有跨域异常
   
   pls describe the problem clearly
   
   > 这个是我的优化
   
   It's best to show your changes in PR or diff, otherwise it's hard for me to 
know what you've changed.
   
   > 跨域实际上经历了两次请求,OPTIONS 方法 + 具体的业务 method
   
   yes, The OPTIONS method is a preflight request to check if CORS is 
supported, for more info about CORS, see: 
https://github.com/apache/apisix/issues/4095#issuecomment-824622092
   
   I think the CORS plugin conforms to the standard specification.
   pls describe clearly with a case, I can't get the problem with the cors 
plugin you are talking about.


-- 
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