Re: [ServiceWorker] HEAD request on Cache API should not return response with body (#655)

So, it seems `cache.match/matchAll` would need to filter out the body when request.method is "HEAD" and `ignoreMethod` is not true.

That considered, I imagine we won't care about a custom response returning body. It'll be filtered out in Fetch afterward, right?
`e.respondWith(new Response("body."));` // e.request.method == "HEAD"

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

Received on Wednesday, 1 April 2015 06:03:44 UTC