- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 18 Nov 2019 10:47:54 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 18 November 2019 18:47:57 UTC
I think we should offer the server the Category information, in particular as there might be multiple acceptable Categories for a given URL. `Accept` might be a useful vehicle to do so (alternative is `Sec-Fetch-Category` or some such). If that means that all non-classic script loads always include a Category we could use that to bypass nosniff and there would be no need for a separate flag there. There's an alternative where Category is a single value and signifies the privilege of the response, but that's not useful for signalling that a worker cannot import a CSS module (which would have the same privilege as JSON, presumably). -- 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/967#issuecomment-555154715
Received on Monday, 18 November 2019 18:47:57 UTC