code: def getConfig(option, serverEndpoint=ServerEndpoint, verbose=Verbose, tikaServerJar=TikaServerJar, responseMimeType='application/json',
                services={'mime-types': '/mime-types', 'detectors': '/detectors', 'parsers': '/parsers/details'}):
      '''
      Get the configuration of the Tika Server (parsers, detectors, etc.) and return it in JSON format.
      :param option:
      :param serverEndpoint:
      :param verbose:
      :param tikaServerJar:
      :param responseMimeType:
      :param services:
      :return:
      '''
      if option not in services:
          die('config option must be one of mime-types, detectors, or parsers')
      service = services[option]
      status, response = callServer('get', serverEndpoint, service, None, {'Accept': responseMimeType}, verbose, tikaServerJar)
      return (status, responsef getConfig(option, serverEndpoint=ServerEndpoint, verbose=Verbose, tikaServerJar=TikaServerJar, responseMimeType='application/json',
                services={'mime-types': '/mime-types', 'detectors': '/detectors', 'parsers': '/parsers/details'}):
      '''
      Get the configuration of the Tika Server (parsers, detectors, etc.) and return it in JSON format.
      :param option:
      :param serverEndpoint:
      :param verbose:
      :param tikaServerJar:
      :param responseMimeType:
      :param services:
      :return:
      '''
      if option not in services:
          die('config option must be one of mime-types, detectors, or parsers')
      service = services[option]
      status, response = callServer('get', serverEndpoint, service, None, {'Accept': responseMimeType}, verbose, tikaServerJar)
      return (status, response)
docs: Get the configuration of the Tika Server (parsers, detectors, etc.) and return it in JSON format.
      :param option:
      :param serverEndpoint:
      :param verbose:
      :param tikaServerJar:
      :param responseMimeType:
      :param services:
      :return: