(flow)
| 2166 | function header(regex){ |
| 2167 | regex = new RegExp(regex, "i"); |
| 2168 | function headerFilter(flow){ |
| 2169 | return ( |
| 2170 | (flow.request && flowutils.RequestUtils.match_header(flow.request, regex)) |
| 2171 | || |
| 2172 | (flow.response && flowutils.ResponseUtils.match_header(flow.response, regex)) |
| 2173 | ); |
| 2174 | } |
| 2175 | headerFilter.desc = "header matches " + regex; |
| 2176 | return headerFilter; |
| 2177 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…