vibe.inet.mimetypes

Maps file name extensions to standard mime types.

Members

Functions

getMimeTypeForFile
string getMimeTypeForFile(string filename)

Returns the standard mime type for the extension of the specified file name.

isCompressedFormat
bool isCompressedFormat(string mimetype)

Returns true for a selected but incomplete list of mime-types that are describing a compressed format.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig