Readonly
bodyThe response's body.
Readonly
closedWhether the response is closed.
- Response is closed by InterceptableResponse.respondWith.
Readonly
headersThe response's HTTP headers.
Readonly
requestThe response's request.
Readonly
statusThe response's status code.
Readonly
statusThe response's status text.
Readonly
urlThe 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.