MySQL 8.4.2
Source Code Documentation
|
#include <content_type.h>
Static Public Member Functions | |
static const char * | from_extension (std::string extension) |
get a mimetype for a file-extension. More... | |
|
inlinestatic |
get a mimetype for a file-extension.
file-extension is matched case-insensitive
returns 'application/octet-stream' in case no mapping is found
'application/octet-stream' | if no mapping is found |