- From: Anne van Kesteren <notifications@github.com>
- Date: Sun, 26 Apr 2015 23:20:28 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 27 April 2015 06:21:21 UTC
@igrigorik SW only has access to `fetch()` to retrieve resources. So if you use SW, `<link rel=preload>` will invoke `fetch()` at which point we need to have this solved for `fetch()`. `context` is used for CSP/MIX/X-Content-Type-Options. Per this bug we'll start using it for request headers. Transport priorities is still unclear as they can depend on many things (e.g. whether an element is in the viewport). Anyway, `context` is everything `fetch()` is capable of within the network layer (the Fetch Standard). So in that respect `as` seems strictly equal as it has no access outside the network layer either. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/43#issuecomment-96518043
Received on Monday, 27 April 2015 06:21:21 UTC