def pathfor(request, *args, **kwargs):
    """Generate relative url for request using route definitions, ``args``
        and ``kwargs``. To learn more about ``args`` and ``kwargs``,
        refer corresponding router's :meth:`pathfor` interface method. Returns
        a URL path as string.

        ``request``,
            The :class:`IHTTPRequest` object for which url is generated.
        """
