code: def parse_mimetype(cls, value):
          '''Return the MIME type from a Content-Type string.
  
          Returns:
              str, None: A string in the form ``type/subtype`` or None.
          '''
          match = re.match(r'([a-zA-Z0-9-]+/[a-zA-Z0-9-]+)', value)
  
          if match:
              return match.group(1f parse_mimetype(cls, value):
          '''Return the MIME type from a Content-Type string.
  
          Returns:
              str, None: A string in the form ``type/subtype`` or None.
          '''
          match = re.match(r'([a-zA-Z0-9-]+/[a-zA-Z0-9-]+)', value)
  
          if match:
              return match.group(1)
docs: Return the MIME type from a Content-Type string.
  
          Returns:
              str, None: A string in the form ``type/subtype`` or None.