class_docstr: MIME-types datastore.
  
  This datastore can handle information from mime.types-style files
  and supports basic determination of MIME type from a filename or
  URL, and can guess a reasonable extension given a MIME type.
code: def __init__(self, filenames=(), strict=True):
      if not inited:
          init()
      self.encodings_map = _encodings_map_default.copy()
      self.suffix_map = _suffix_map_default.copy()
      self.types_map = ({}, {})  # dict for (non-strict, strict)
      self.types_map_inv = ({}, {})
      for ext, type in _types_map_default.items():
          self.add_type(type, ext, True)
      for ext, type in _common_types_default.items():
          self.add_type(type, ext, False)
      for name in filenames:
          self.read(name, strict)
  
imports: import os
  import sys
  import posixpath
  import urllib.parse
label_desc: Use image node_id 1 to create a new MimeTypes object  with example: obj = MimeTypes(filenames, strict)