Re: [w3c/ServiceWorker] Service workers allow for more responses to be executed as script (#1509)

Instead of blocking the requests at the `fetch()` layer, can we instead have a check at `respondWith()` which rejects an opaque response that was originated with a non-GET method when the request destination is `script`?  Like the other checks at step 5.5.5 here:

https://fetch.spec.whatwg.org/#http-fetch

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1509#issuecomment-965107955

Received on Wednesday, 10 November 2021 12:59:55 UTC