code: static String _getMimeType(String uriOrPath) {
          String mime = MIME_MAP.get(__getExtension(uriOrPath));
  
          if (mime == null) {
              mime = DEFAULT_MIME;
          }
  
          return mime;
      }
docs: Returns the mime-type associated with given URI or path