def build_path_base(self, bucket, key=''): key = utils.get_utf8_value(key) return '/%s' % urllib.quote(key)
def build_auth_path(self, bucket, key=''): key = utils.get_utf8_value(key) path = '' if bucket != '': path = '/' + bucket return path + '/%s' % urllib.quote(key)
def build_path_base(self, bucket, key=''): key = utils.get_utf8_value(key) path_base = '/' if bucket: path_base += "%s/" % bucket return path_base + urllib.quote(key)