(init = void 0)
| 12441 | return this[kHeadersMap].values(); |
| 12442 | } |
| 12443 | get entriesList() { |
| 12444 | const headers = []; |
| 12445 | if (this[kHeadersMap].size !== 0) { |
| 12446 | for (const { 0: lowerName, 1: { name, value } } of this[kHeadersMap]) { |
| 12447 | if (lowerName === "set-cookie") { |
| 12448 | for (const cookie of this.cookies) { |
| 12449 | headers.push([name, cookie]); |
| 12450 | } |
| 12451 | } else { |
| 12452 | headers.push([name, value]); |
| 12453 | } |
| 12454 | } |
| 12455 | } |
| 12456 | return headers; |
| 12457 | } |
| 12458 | // https://fetch.spec.whatwg.org/#convert-header-names-to-a-sorted-lowercase-set |
| 12459 | toSortedArray() { |
nothing calls this directly
no test coverage detected