Re: [ServiceWorker] spec should be more explicit about accessing internal body on opaque Responses (#710)

Sorry to have not been specific with the description above. Setting the body to null is for the case where `matchAll()` steps run with request's method HEAD and options.ignoreMethod set to false. I didn't change the original behavior but just introduced "internal response" to the text.

We're not mutating the state of the stored response, but just returning a copy of the response after removing the body as it's a HEAD request.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/710#issuecomment-194720793

Received on Thursday, 10 March 2016 07:54:33 UTC