Re: [w3c/ServiceWorker] Value of the Service-Worker request header (#1605)

Turns out it is in the spec. I don't know how I missed that.

```
Append `Service-Worker`/`script` to request’s header list.
```
https://w3c.github.io/ServiceWorker/#update-algorithm


Anyway, is it safe to assume that a registration request will always use `script` as the header's value? Or it's safer to check for the presence of the header regardless of its value?

-- 
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/1605#issuecomment-932222595

Received on Friday, 1 October 2021 13:20:59 UTC