私有bucket,python sdk 生成的url 无法下载图片 no such domain
q = Auth(kAccessKey, kSecretKey)
base_url = '
http://%s/%s
' % (kBucketName + '.qiniudn.com', key)
private_url = q.private_download_url(base_url, expires=kDownloadFileExpireTime)
生成的url为
http://yotest.qiniudn.com/5524d2566654c763108f0f561428479458.42?e=1428...
返回结果404
{
"error": "no such domain"
}
请问应该是哪里出了什么问题呢?bucket_name也是对的
歌牌镇魂曲
10 years, 2 months ago