(key: string)
| 24 | } |
| 25 | if (!isNil(data.headers)) { |
| 26 | const decodeHeaderByKey = (key: string) => { |
| 27 | result.headers[key] = this.decode(data.headers[key]); |
| 28 | }; |
| 29 | Object.keys(data.headers).forEach(decodeHeaderByKey); |
| 30 | } else { |
| 31 | result.headers = {}; |