method

mime_type

mime_type(filename, mime_tab)
private

Returns the mime type of filename from the list in mime_tab. If no mime type was found application/octet-stream is returned.