def preflist_path(self, bucket, key, bucket_type=None, **options):
        if not self.riak_kv_wm_preflist:
            raise RiakError("Preflists are unsupported by this Riak node")
        if self.riak_kv_wm_bucket_type and bucket_type:
            return mkpath("/types", quote_plus(bucket_type),
                          "buckets", quote_plus(bucket),
                          "keys", quote_plus(key),
                          "preflist", **options)
        else:
            return mkpath("/buckets", quote_plus(bucket),
                          "keys", quote_plus(key),
                          "preflist", **options)

    # Feature detection overrides
Generate the URL for bucket/key preflist information
dataset/ETHPy150Open basho/riak-python-client/riak/transports/http/resources.py/HttpResources.preflist_path