This repository has been archived by the owner on Mar 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 190
Derive mime type from file extension #7
Comments
Also discussed in #4 |
@IAmHughes Any thoughts? |
Instead of using the file extension, what about using the mime database to determine the mime type? I've done a workaround on an action that I'm using the the moment, that looks like:
Full configuration here |
@caquino, I'm afraid that the solution you propose might only be valid on GNU/Linux environments (i.e. FTR, it is possible to use a JS package/lib instead: #4 (comment) |
@tim-hellhake, note that I am not completely happy with my implementation. That's why I didn't explicitly comment about it in #8. See: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice if the mime type would be derived from the file extension.
The text was updated successfully, but these errors were encountered: