Closed dvv closed 10 years ago
1) I'm neutral on this. 2) Yes. IIRC, some browsers will not treat the files correctly if mimetype is incorrect. e.g: HTML5 offline resource manifest: http://www.fuckyeahtml5.com/2011/06/debugging-html5s-offline-web-apps/ 3) Copy from Apache?
I think this list from html5boilerplate is probably about right: https://github.com/h5bp/server-configs/blob/master/nginx/mime.types It covers all reasonable mimetypes while being maintainable/not excessive.
Right. Never saw such a monster extension https://github.com/h5bp/server-configs/blob/master/nginx/mime.types#L95 :D
So mimetypes are in. Closing, thanks!
What do you people think of implementing the subject? I spawned https://github.com/dvv/mimetypes -- it uses Apache-driven mime type list. For needs of cowboy this list may or may not be way exhaustive.
So the questions are:
--Vladimir