Nesting of Rules

One level of match nesting is supported. For example:


     {
       "matches": [
         {
           "name": "url-path",
           "value": "path1 path2"
         },
         {
           "name": "http-method",
           "value": "GET"
         }
       ]
     }
   

On the other hand, it is possible to describe parallel matches conditions using an AND condition. The code segment above declares that if the request URL begins with '/path1' or '/path2' and the request method was GET, then apply whatever behaviors are defined in the behavior tuple.