- From: Salvador de la Puente González <notifications@github.com>
- Date: Mon, 29 Feb 2016 00:07:44 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 29 February 2016 08:08:12 UTC
But you could force CORS responses to be at least as protective as the network response. So if you receive an opaque response you could not make it more visible at all and if you receive a _partial_ opaque response (say, exposing just some headers) you could reduce this set but never extending it. This way: ```js self.onforeignfetch = evt => { evt.respondWith(self.fetch(evt.request)); }; ``` Acts the same way as if it were no service worker. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/841#issuecomment-190086355
Received on Monday, 29 February 2016 08:08:12 UTC