Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 806 Bytes

header.md

File metadata and controls

35 lines (23 loc) · 806 Bytes

Response header related primitives

res_header_key_in(key_list)

  • Descrption: Judge if key in Header of response matches configured key_list

  • Parameters

Parameter Descrption
key_list String
a list of header keys which are concatenated using |
  • Example
res_header_key_in("X-Bfe-Debug")

res_header_value_in(key, value_list, case_insensitive)

  • Descrption: Judge if value of key in response header matches configured patterns

  • Parameters

Parameter Descrption
key String
header name
value_list String
a list of header values which are concatenated using |
case_insensitive Boolean
case insensitive
  • Example
res_header_value_in("X-Bfe-Debug", "1", true)