mimetype.h
This library provides the following two functions:
/* If the extension is unknown, returns NULL. */
const char* mimetype_from_ext(const char* ext);
const char* mimetype_from_ext_n(const char* ext, size_t len);
Mapping data is came from nginx.