0

I have a Common Expression Language (CEL) expression as below

request.headers['host'].lower().contains('test.example.com')

Now above expression make sure the HTTP host header matches test.example.com domain. Now how to create a expression that will validate if there is only one host header present in the HTTP request using CEL

Piyush Patil
  • 14,512
  • 6
  • 35
  • 54

0 Answers0