On Thu, May 9, 2013 at 9:36 AM, Marcos Caceres <w...@marcosc.com> wrote: > On Wednesday, May 8, 2013 at 2:05 PM, Robin Berjon wrote: >> How do you figure out media types? Is it just sniffing, or do you have >> some sort of file extensions mapping as well? > > Sniffing would probably sufficient. The types on the web are pretty stable.
I'd probably hard-code at least a default set of extensions as well. Not sure what gecko does right now.