vibe.d beta banner
get vibe.d
0.7.30

Module vibe.inet.mimetypes

Maps file name extensions to standard mime types.

Functions

NameDescription
getMimeTypeForFile(filename)Returns the standard mime type for the extension of the specified file name.
isCompressedFormat(mimetype)Returns true for a selected but incomplete list of mime-types that are describing a compressed format.
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.