mime type woff woff2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mime type woff woff2

Steffen
In conf mime.types we have:

application/font-woff woff

And missing woff2 (have several request to add) 

According to IANA https://www.iana.org/assignments/media-types/media-types.xhtml#application :

font-woff - DEPRECATED in favor of font/woff  application/font-woff 


According https://www.iana.org/assignments/media-types/media-types.xml#font 

woff font/wof
woff2 font/woff2

Do we change/add in mime.types : ?

change application/font-woff    woff   to  font/woff  woff  

and add  font/wof2  woff2  ? 

Or do we need both : ?

application/font-woff    woff
application/font-woff2    woff2
font/woff  woff  
font/woff2  woff2  
Reply | Threaded
Open this post in threaded view
|

Re: mime type woff woff2

William A Rowe Jr
Duplicate file type matches will just confuse the hash lookup, I suspect. Drop the file-types from deprecated mime type entries, include mention the deprecated types though, for the sake of completeness. There are other examples of this pattern in mime.types, of types with no file type assigned.



On Sep 18, 2017 03:21, "Steffen" <[hidden email]> wrote:
In conf mime.types we have:

application/font-woff woff

And missing woff2 (have several request to add) 


font-woff - DEPRECATED in favor of font/woff  application/font-woff 



woff font/wof
woff2 font/woff2

Do we change/add in mime.types : ?

change application/font-woff    woff   to  font/woff  woff  

and add  font/wof2  woff2  ? 

Or do we need both : ?

application/font-woff    woff
application/font-woff2    woff2
font/woff  woff  
font/woff2  woff2