Maybe we can replace mime with mrmime? Because mrmime is 5x smaller than mime. But mrmime only provides standard mime types (equal to mime/lite import). And because We only need to convert extension to mime type (.json -> applications/json), We can use lookup method (equal to mime's getType method).
Maybe we can replace
mimewithmrmime? Becausemrmimeis 5x smaller thanmime. Butmrmimeonly provides standard mime types (equal tomime/liteimport). And because We only need to convert extension to mime type (.json->applications/json), We can uselookupmethod (equal tomime'sgetTypemethod).