content format negotiation is what accept is meant to do. Protocol level negotiation also allows designated intermediaries to potentially transcode between formats. imo you should add woff2 to the accept header.
On Tue, Oct 7, 2014 at 9:39 AM, Henri Sivonen <hsivo...@hsivonen.fi> wrote: > On Fri, Oct 3, 2014 at 3:11 AM, Jonas Sicking <jo...@sicking.cc> wrote: > >> @font-face { > >> font-family: MyFont; > >> src: url(myfont.woff2) format("woff2"), > >> url(myfont.woff) format("woff"), > >> url(myfont.eot) format("embedded-opentype"), > >> url(myfont.ttf) format("truetype"); > >> } > > > > Could we at least add woff2 to the Accept header when fetching fonts? > > Why? The CSS-level negotiation feature shown above works great and > doesn't involve any HTTP-level varying. (Also, like Anne says, fonts > MIME types are a sad story.) > > I think we should treat Accept in general as a legacy mistake and not > try to make it do new tricks. > > -- > Henri Sivonen > hsivo...@hsivonen.fi > https://hsivonen.fi/ > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform