def handle_discovery_request(self, path, request, start_response):
if path == self._GET_REST_API:<EOL><INDENT>return self._get_rest_doc(request, start_response)<EOL><DEDENT>elif path == self._GET_RPC_API:<EOL><INDENT>error_msg = ('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>_logger.error('<STR_LIT:%s>', error_msg)<EOL>return util.send_wsgi_error_response(error_msg, start_response)<EOL><DEDENT>elif path == self._LIST_API:<EOL><INDENT>return self._list(request, start_response)<EOL><DEDENT>return False<EOL>
Returns the result of a discovery service request.

        This calls start_response and returns the response body.

        Args:
          path: A string containing the API path (the portion of the path
            after /_ah/api/).
          request: An ApiRequest, the transformed request sent to the Discovery API.
          start_response: A function with semantics defined in PEP-333.

        Returns:
          The response body.  Or returns False if the request wasn't handled by
          DiscoveryService.