I would like to proxy onreadystatechange property of the XMLHttpRequest to log the response body.
onreadystatechange
XMLHttpRequest
Here is what I tried:
const