ReadonlybodyThe response's body.
ReadonlyclosedWhether the response is closed.
- Response is closed by InterceptableResponse.respondWith.
ReadonlyheadersThe response's HTTP headers.
ReadonlyrequestThe response's request.
ReadonlystatusThe response's status code.
ReadonlystatusThe response's status text.
ReadonlyurlThe response's url.
- This can differ from the request.url when redirected.
Replaces the original response with the provided response.
A ResponseLike.
Wait until the given callback is done before closing this response.
Wait until the given promise is resolved before closing this response.
Represents an intercepted HTTP response which can be modified.