You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it up to browsers to decide what value will be included in the Service-Worker request header when an HTTP request is made to fetch a service worker's script resource?
I've noted that some browsers use script as the value for this header, but I couldn't find this information in the spec.
I'm unsure if administrators should be looking for the Service-Worker: script header specifically to detect the registration of a service worker.
The text was updated successfully, but these errors were encountered:
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?
Is it up to browsers to decide what value will be included in the
Service-Worker
request header when an HTTP request is made to fetch a service worker's script resource?I've noted that some browsers use
script
as the value for this header, but I couldn't find this information in the spec.I'm unsure if administrators should be looking for the
Service-Worker: script
header specifically to detect the registration of a service worker.The text was updated successfully, but these errors were encountered: