()
| 2194 | } else if (val[i] === null) { |
| 2195 | arr.push(""); |
| 2196 | } else if (typeof val[i] === "object") { |
| 2197 | throw new InvalidArgumentError(`invalid ${key} header`); |
| 2198 | } else { |
| 2199 | const str = `${val[i]}`; |
| 2200 | if (!isValidHeaderValue(str)) { |
| 2201 | throw new InvalidArgumentError(`invalid ${key} header`); |
no test coverage detected