()
| 66 | return body; |
| 67 | } |
| 68 | async json() { |
| 69 | let body = this.#body; |
| 70 | if (body) { |
| 71 | this.#body = undefined; |
| 72 | body = await body; |
| 73 | body = String.fromArrayBuffer(body); |
| 74 | return JSON.parse(body); |
| 75 | } |
| 76 | return body; |
| 77 | } |
| 78 | async text() { |
| 79 | let body = this.#body; |
| 80 | if (body) { |
no test coverage detected