From f97ae5ceba6cd08d494dbaa18066e1b89db6db7b Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Wed, 30 Jun 2021 19:29:26 +0530 Subject: [PATCH] minor update to check full header --- exposures/configs/javascript-env.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exposures/configs/javascript-env.yaml b/exposures/configs/javascript-env.yaml index 5b7608c025..d2910508ea 100644 --- a/exposures/configs/javascript-env.yaml +++ b/exposures/configs/javascript-env.yaml @@ -24,10 +24,10 @@ requests: status: - 200 - - type: word + - type: dsl part: header - words: - - "application/javascript" + dsl: + - "contains(tolower(all_headers), 'content-type: application/javascript')" - type: word part: body @@ -41,4 +41,4 @@ requests: - "KEY" - "PASSWORD" - "VERSION" - condition: or + condition: or \ No newline at end of file