mimetypes #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mimetypes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a MimeType helper with some functions to determine a mime type from a provided filename or extension.
Returned mime types also bear variables that determine if they are text or binary, and if they are compressible.
The PR also indicates a few TODO areas where we need to handle errors for users.
LGTM