(header, matcher)
| 169 | } |
| 170 | |
| 171 | has(header, matcher) { |
| 172 | header = normalizeHeader(header); |
| 173 | |
| 174 | if (header) { |
| 175 | const key = utils.findKey(this, header); |
| 176 | |
| 177 | return !!( |
| 178 | key && |
| 179 | this[key] !== undefined && |
| 180 | (!matcher || matchHeaderValue(this, this[key], key, matcher)) |
| 181 | ); |
| 182 | } |
| 183 | |
| 184 | return false; |
| 185 | } |
| 186 | |
| 187 | delete(header, matcher) { |
| 188 | const self = this; |
no test coverage detected