vibe.d beta banner
get vibe.d
0.7.30

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
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License