Function getMimeTypeForFile
Returns the standard mime type for the extension of the specified file name.
Any unknown file extension will map to "application/octet-stream".
Prototype
string getMimeTypeForFile(
string filename
);
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.