- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 26 Feb 2016 23:49:17 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Saturday, 27 February 2016 07:49:45 UTC
The other thing we need to think through and define is that the `response` member of the dictionary the promise is resolved with that is passed to `respondWith()` can contain any kind of response. So when you pass in an opaque response, we cannot make that visible. If you pass in a CORS response, we can only safelist the headers already safelisted by the CORS response. If you pass in a foreign-fetch filtered response, you get the idea. I don't think we want to make filtered responses multiple layers deep since that would complicate things elsewhere. Though it might be worth trying to think through that angle too. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/841#issuecomment-189602478
Received on Saturday, 27 February 2016 07:49:45 UTC