Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add MIME registry #5765
This adds a
By default, a limited set of mime types is always registered, including those that have previously been used in
/etc/mime.types /etc/apache2/mime.types /etc/apache/mime.types # only freebsd /usr/local/etc/mime.types # only openbsd /usr/share/misc/mime.types
For windows this is not yet implemented because we're missing access to the registry.
Applications (or shards) can also register custom mime types and extensions.
Mar 7, 2018
referenced this pull request
Apr 5, 2018
ysbaddaden left a comment
I believe a few things could be done better. Especially the MIME <-> Crystal::System::MIME relationship.
Last but not leat: I'm really sick of seeing
added a commit
this pull request
May 3, 2018
bcardiff left a comment
But is not mandatory.
Also I would've called