- From: Yutaka Hirano <notifications@github.com>
- Date: Thu, 31 Mar 2016 05:30:21 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Message-ID: <whatwg/fetch/issues/266/203908304@github.com>
I don't know what the other issues are, so this may be a silly question, but is it possible / desirable to update request's referrer policy after the referrer calculation in the main fetch? I mean, putting the below statements, for example. 1. If _request_'s referrer policy is empty, set _request_'s referrer policy to the value of environment’s referrer policy. 1. If _request_'s referrer policy is still empty, set _request_'s referrer policy to "no-referrer-when-downgrade". It looks simpler to me - the referrer of a request originated from a page will not be affected by the service worker script's referrer policy. It's also consistent with the redirect behavior. "determine request referrer policy" algorithm has a special term (2) for it, but we will be able to remove the item. Additionally, as an implementer I would be more comfortable with it for some reason. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/266#issuecomment-203908304
Received on Thursday, 31 March 2016 12:30:48 UTC