Multiple Matching

Path matches multiple block's pattern.

          
    customHeaders: [
      {
        "path": "/custom-headers/path/*",
        "responseHeaders": [
          {
            "key": "Accept",
            "value": "text/html"
          },
          {
            "key": "Msh-custom",
            "value": "90"
          }
        ]
      },
      {
        "path": "/custom-headers/*/subpath",
        "responseHeaders": [
          {
            "key": "Accept",
            "value": "application/xml"
          },
          {
            "key": "Accept",
            "value": "application/xhtml+xml"
          }
        ]
      }
    ]
          
        

Inspect page to see Msh-custom header is 90 from first matching block.

Accept header is application/xml, application/xhtml+xml from second matching block.