def METHOD_NAME(*args):
    """
    Joins given arguments into an url. Trailing but not leading slashes are
    stripped for each argument.
    :return: string
    """
    return '/'.join(arg.strip('/') for arg in args)