jshttp / mime-types

The ultimate javascript content-type utility.
MIT License
1.32k stars 129 forks source link

aliases for application/x-www-form-urlencoded #14

Closed jonathanong closed 9 years ago

jonathanong commented 9 years ago

does that play into this library?

form, urlencoded, and form-data are some aliases. ¯\_(ツ)_/¯

dougwilson commented 9 years ago

It can, as long as it doesn't get mixed with extensions (i.e. someone should be able to lookup a file.form and get back false still).

dougwilson commented 9 years ago

Generally just seems unnecessary. type-is I can see wanting this, and there it is :)