(name: string, value: string)
| 245 | } |
| 246 | |
| 247 | private addHeaderEntry(name: string, value: string) { |
| 248 | const key = name.toLowerCase(); |
| 249 | this.maybeSetNormalizedName(name, key); |
| 250 | if (this.headers.has(key)) { |
| 251 | this.headers.get(key)!.push(value); |
| 252 | } else { |
| 253 | this.headers.set(key, [value]); |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | private setHeaderEntries(name: string, values: any) { |
| 258 | const headerValues = (Array.isArray(values) ? values : [values]).map((value) => |
no test coverage detected