- From: Carter Li <notifications@github.com>
- Date: Sun, 28 Oct 2018 19:03:58 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 29 October 2018 02:04:20 UTC
> > What about writing import styles from "./style.cssm" or import styles from "./style.css?module" > > I don't understand the question. > > Right browsers only send `Accept: */*` for requests from imports. That'll need to change if servers are going to send .css vs .css.js depending on browser support. Yes browsers only send `Accept: */*` for requests from imports, but they still send `Accept: text/css` for requests from `<link rel="stylesheet">`. Servers can decide what to send depending on what the `Accept` header is. What I mean is that if you don't like `Accept: */*`, you can send request like `style.cssm` ( `m` means module ). Servers can decide what to send based on its file extension. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/759#issuecomment-433766776
Received on Monday, 29 October 2018 02:04:20 UTC