def add_var(name, value):
    """Registers custom request variable.

    Can be used for better integration with the internal routing subsystem.

    :param str|unicode name:

    :param str|unicode value:

    :rtype: bool

    :raises ValueError: If buffer size is not enough.
    """
