3 sub mime_type_from_ext {
 
   4   $main::lxdebug->enter_sub();
 
   9   # TODO: Mittels Standardmodulen implementieren.
 
  10   my %mime_types = ('ods'  => 'application/vnd.oasis.opendocument.spreadsheet',
 
  11                     'odt'  => 'application/vnd.oasis.opendocument.text',
 
  12                     'pdf'  => 'application/pdf',
 
  13                     'sql'  => 'text/plain',
 
  14                     'txt'  => 'text/plain',
 
  15                     'html' => 'text/html',
 
  20   $main::lxdebug->leave_sub();
 
  22   return $mime_types{$ext};