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/03/29 01:45:07 UTC

[GitHub] [apisix] tzssangglass commented on issue #6710: help request: Add a header if exist not overwrite

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


   Another compromise is to use the `vars` on the route to distinguish between routes with a specified header and those without one, and to handle them separately.
   
   IMO, don't override if it exists: this will cause to check the all headers, which is inefficient.


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