mailcap: return the mailcap action for the supplied MIME type. file2mime: return the MIME type for a file by parsing the output of file(1). ext2mime: infer MIME type from file extension. fixexts: correct file extension based on MIME type.
mailcap
file2mime
ext2mime
fixexts
apphelper