()
| 49 | } |
| 50 | |
| 51 | async arrayBuffer() { |
| 52 | const text = typeof this.body === 'string' ? this.body : JSON.stringify(this.body || ''); |
| 53 | return new TextEncoder().encode(text).buffer; |
| 54 | } |
| 55 | |
| 56 | async json() { |
| 57 | const text = typeof this.body === 'string' ? this.body : JSON.stringify(this.body || ''); |