Re: [w3c/ServiceWorker] importScripts request does not include Service-Worker header (#1538)

The header isn't optional, it's included on the request for the service worker script, always. It isn't included on additional requests made by that script, including fetch and importScripts.

It's definitely mentioned in the spec - it's requires that header to be there on root service worker scripts, and it requires it isn't there on other requests.

-- 
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/1538#issuecomment-694828513

Received on Friday, 18 September 2020 12:04:37 UTC