def _get_joined_path(ctx):
    """
    @type ctx: L{_URLContext}
    @param ctx: A URL context.

    @return: The path component, un-urlencoded, but joined by slashes.
    @rtype: L{bytes}
    """
    return b'/' + b'/'.join(seg.encode('utf-8') for seg in ctx.path)
@type ctx: L{_URLContext}
    @param ctx: A URL context.

    @return: The path component, un-urlencoded, but joined by slashes.
    @rtype: L{bytes}