Closed frankrousseau closed 9 years ago
why use mime & not just check file name 's extensions ?
mime does just that : https://github.com/broofa/node-mime/blob/master/mime.js#L74 https://github.com/broofa/node-mime/blob/master/types/mime.types#L1319 https://github.com/broofa/node-mime/blob/master/types/mime.types#L1324
lock printit version too
mime
is more expressive.
Ok, we can reconsider when moving this into the DS. LGTML :+1: