Get response body as a Python bytearray. Returns a mutable bytearray containing the response data.
(self)
| 65 | return await self._response.blob() |
| 66 | |
| 67 | async def bytearray(self): |
| 68 | """ |
| 69 | Get response body as a Python bytearray. |
| 70 | |
| 71 | Returns a mutable bytearray containing the response data. |
| 72 | """ |
| 73 | buffer = await self._response.arrayBuffer() |
| 74 | return as_bytearray(buffer) |
| 75 | |
| 76 | async def json(self): |
| 77 | """ |
nothing calls this directly
no test coverage detected