- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 08 Apr 2015 00:49:16 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 8 April 2015 07:49:45 UTC
The relevant specification for this is Fetch. That "guidance" text should probably be removed from `respondWith()` or demoted to a note of sorts. It's not very clear nor necessarily accurate in the face of redirects (which modify the request URL). What happens in Fetch is that the response URL is overwritten by the request URL just before the point where we hand the response back to the caller. CSP needs to happen on the original response URL though (and perhaps also on any redirects it passed while in the service worker, that's not agreed upon as of yet). --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/560#issuecomment-90833792
Received on Wednesday, 8 April 2015 07:49:45 UTC