You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Honestly, I think it should default to null or undefined when it can't find the extension. When a "application/octet-stream" comes up, I don't actually know if it wan't found, it could actually be "application/octet-stream".
When I looked at the doco, one of the first things I thought was what happened if you put in an unknown file extension.
In this case, I noticed it returns "application/octet-stream".
It'll be good to put that upfront in the README because I'm sure this is one of the first things people think about.
What do you think?
BTW, thanks for such a useful package!
Chris
The text was updated successfully, but these errors were encountered: