code: def _parse_remote_response(self, response):
          
          # Check if the content type is the right one.
          try:
              if response.headers["Content-Type"] != 'application/json':
                  logger.warning('Wrong Content_type ({})'.format(
                      response.headers["Content-Type"]))
          except KeyError:
              pass
  
          logger.debug("Loaded JWKS: %s from %s" % (response.text, self.source))
          try:
              return json.loads(response.text)
          except ValueError:
              return None
docs: Parse JWKS from the HTTP response.
  
          Should be overriden by subclasses for adding support of e.g. signed
          JWKS.
          :param response: HTTP response from the 'jwks_uri' endpoint
          :return: response parsed as JSON