We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c4c709 commit f2d9f17Copy full SHA for f2d9f17
test_qiniu.py
@@ -414,9 +414,9 @@ class DownloadTestCase(unittest.TestCase):
414
q = Auth(access_key, secret_key)
415
416
def test_private_url(self):
417
- private_bucket = 'private-res'
+ private_bucket_domain = 'private-sdk.peterpy.cn'
418
private_key = 'gogopher.jpg'
419
- base_url = 'http://%s/%s' % (private_bucket + '.qiniupkg.com', private_key)
+ base_url = 'http://%s/%s' % (private_bucket_domain, private_key)
420
private_url = self.q.private_download_url(base_url, expires=3600)
421
print(private_url)
422
r = requests.get(private_url)
0 commit comments