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/10/11 03:34:30 UTC

[GitHub] [apisix] monkeyDluffy6017 commented on issue #8066: help request: why cors processing in header_filter phase?

monkeyDluffy6017 commented on issue #8066:
URL: https://github.com/apache/apisix/issues/8066#issuecomment-1274042170

   @zuiyangqingzhou What you said is right, and i checked the code, find that the `option` request will break the `rewrite phase`, it won't access the upstream.
   https://github.com/apache/apisix/blob/c25e1123d90b9b9926de002b9a472740f1bbbbb0/apisix/plugins/cors.lua#L293


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