v1.14
EN:
- Optimized the
:collectMatcherEvidencefunction to collect four types of evidence:status_code,body contains,body matches, andheader. - Added
:headerfor precise matching ofContent-Typein response headers. - To match
Content-Type: text/plain; charset=utf-8in the response header. - Example:
#@ matcher: header["Content-Type"] contains "text" - Or:
#@ matcher: header["Content-Type"] contains "text/plain"
ZH:
1:优化:collectMatcherEvidence函数,收集四种证据:status_code、body contains、body matches、header
2:新增:header 可在响应头精准匹配Content-Type
3:想在响应头匹配Content-Type: text/plain; charset=utf-8
4:示例 #@ matcher: header["Content-Type"] contains "text"
5:或者 #@ matcher: header["Content-Type"] contains "text/plain"