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 2020/10/24 02:53:17 UTC

[GitHub] [apisix] sixinyiyu opened a new issue #2508: request help: route match with customize the request header rules

sixinyiyu opened a new issue #2508:
URL: https://github.com/apache/apisix/issues/2508


   ### Issue description
   
   request heders 
     a:     client_type  xxx_ios  
             client_version 2.0
     b:    client_type xxx_android
            client_version 2.1
   
   different headers variable match different router with different priority
   
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.5
   * OS: centos 7
   


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

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



[GitHub] [apisix] sixinyiyu commented on issue #2508: request help: route match with customize the request header rules

Posted by GitBox <gi...@apache.org>.
sixinyiyu commented on issue #2508:
URL: https://github.com/apache/apisix/issues/2508#issuecomment-715663692


   "vars": [ 
           ["http_origin", "==", "http://xxx.api.cn"]
       ]
   
   it's work 


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

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



[GitHub] [apisix] spacewander closed issue #2508: request help: route match with customize the request header rules

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2508:
URL: https://github.com/apache/apisix/issues/2508


   


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

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



[GitHub] [apisix] membphis commented on issue #2508: request help: route match with customize the request header rules

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2508:
URL: https://github.com/apache/apisix/issues/2508#issuecomment-715662355


   https://github.com/apache/apisix/blob/master/doc/admin-api.md#route
   
   please pay attention on the `vars` and `priority`, you need it


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

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



[GitHub] [apisix] membphis edited a comment on issue #2508: request help: route match with customize the request header rules

Posted by GitBox <gi...@apache.org>.
membphis edited a comment on issue #2508:
URL: https://github.com/apache/apisix/issues/2508#issuecomment-715662355


   https://github.com/apache/apisix/blob/master/doc/admin-api.md#route
   
   please pay attention to the `vars` and `priority`, you need it


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

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



[GitHub] [apisix] spacewander commented on issue #2508: request help: route match with customize the request header rules

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2508:
URL: https://github.com/apache/apisix/issues/2508#issuecomment-720870960


   Consider solved.


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

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