Re: [ServiceWorker] Can we replace event.default() with something less magic? (#607)

Thanks for the detailed use-case. In the mean time, you can check `response.url`, and if it doesn't match `request.url` you can respond with a redirect. However, this will result in a double request for the final url which isn't great.

You're not the first to have this problem, my current thinking is at https://github.com/whatwg/fetch/issues/66, although we've got to make sure we're not breaking security.

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

Received on Thursday, 2 July 2015 17:16:49 UTC