(other: HttpHeaders)
| 191 | } |
| 192 | |
| 193 | private copyFrom(other: HttpHeaders) { |
| 194 | other.init(); |
| 195 | Array.from(other.headers.keys()).forEach((key) => { |
| 196 | this.headers.set(key, other.headers.get(key)!); |
| 197 | this.normalizedNames.set(key, other.normalizedNames.get(key)!); |
| 198 | }); |
| 199 | } |
| 200 | |
| 201 | private clone(update: Update): HttpHeaders { |
| 202 | const clone = new HttpHeaders(); |