Re: [ServiceWorker] Service-Worker-Allowed header (#604)

Thanks Jungkee. I thought about this a little more last night.
1. We don't unregister in any other case, like MIME type changed or response code became 403, etc. Maybe it's more consistent to not unregister here then?
2. I think the header value should be relative to the script URL (the HTTP request URL), rather than the client's base URL. That's how Content-Location and Referer works. WDYT?

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

Received on Wednesday, 21 January 2015 02:00:36 UTC