vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

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 Sönke Ludwig

License

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