def autodiscover(self, message):
<EOL>if message["<STR_LIT:version>"] in self.allowed_versions:<EOL><INDENT>logger.debug("<STR_LIT>"<EOL>"<STR_LIT>" % message["<STR_LIT>"])<EOL>response = serialize_data({"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT:version>": self.version,<EOL>"<STR_LIT>": self.server_name},<EOL>self.compression,<EOL>encryption=False)<EOL><DEDENT>else:<EOL><INDENT>logger.warning("<STR_LIT>"<EOL>"<STR_LIT>" % (message["<STR_LIT>"],<EOL>message["<STR_LIT:version>"],<EOL>self.version))<EOL>response = serialize_data({"<STR_LIT>": "<STR_LIT>"},<EOL>self.compression,<EOL>encryption=False)<EOL><DEDENT>return response<EOL>
This function simply returns the server version number as a response
        to the client.

        Args:
          message (dict): A dictionary of the autodiscover message from the
            client.

        Returns:
          A JSON string of the "OHAI Client" server response with the server's
          version number.

        Examples:
          >>> response
          '{"method": "OHAI Client", "version": "1.0"}'