(headers)
| 57162 | if (match instanceof RegExp) { |
| 57163 | return match.test(value); |
| 57164 | } |
| 57165 | if (typeof match === "function") { |
| 57166 | return match(value) === true; |
| 57167 | } |
| 57168 | return false; |
| 57169 | } |
| 57170 | function lowerCaseEntries(headers) { |
| 57171 | return Object.fromEntries( |
| 57172 | Object.entries(headers).map(([headerName, headerValue]) => { |
| 57173 | return [headerName.toLocaleLowerCase(), headerValue]; |
no test coverage detected
searching dependent graphs…