def get(self, request):
<EOL>if not self.hosts:<EOL><INDENT>return self._get(request.path, request.method, '<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>return self._get(request.path, request.method,<EOL>request.headers.get("<STR_LIT>", '<STR_LIT>'))<EOL><DEDENT>except self._not_found:<EOL><INDENT>return self._get(request.path, request.method, '<STR_LIT>')<EOL><DEDENT>
Get a request handler based on the URL of the request, or raises an
        error

        :param request: Request object
        :return: handler, arguments, keyword arguments