- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 16 Jul 2019 09:43:52 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 July 2019 16:44:14 UTC
@shivanigithub if you want to help with this that'd be great! My thinking here involved changes to the Fetch and HTML standards. In particular: * Change HTML such that it ends up exposing a "first-party origin" field on its [environment settings object](https://html.spec.whatwg.org/#environment-settings-object). This will likely require changes to document object creation and worker creation to store the state and changes to the environment settings object to expose it (similar to how we do it for other such state, such as referrer policy). * Change Fetch such that it copies a request's client's first-party origin on a new first-party origin field on the request object. * Change Fetch such that whenever it talks about "the HTTP cache" it instead gets an HTTP cache via the first-party origin somehow. I'm not sure how detailed we want to make this, but we probably want to at least have a couple of words describing what it means to get an HTTP cache for a particular origin. Perhaps this can borrow wording from how we deal with connections. Hope that helps! -- 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/904#issuecomment-511895169
Received on Tuesday, 16 July 2019 16:44:14 UTC