Closed Fishrock123 closed 10 years ago
i think the first is better. you'll have to look at the types specifically to see. stuff defined first is the apache stuff, and those are probably the most common ones
Not necessarily for though. Think application/octet-stream
- which in the context of node are probably* buffers.
*(imo quite likely)
if someone is doing extensions('application/octet-stream')
then they probably have bigger problems
I feel as though mime.extension should return the last added definition for the type.
Thoughts?