diff --git a/qiniu/region.py b/qiniu/region.py index f143795b..049079de 100644 --- a/qiniu/region.py +++ b/qiniu/region.py @@ -163,6 +163,6 @@ def host_cache_to_file(self, home_dir): def bucket_hosts(self, ak, bucket): url = "{0}/v1/query?ak={1}&bucket={2}".format(UC_HOST, ak, bucket) - ret = requests.get(url) + ret = requests.get(url, verify=False) data = compat.json.dumps(ret.json(), separators=(',', ':')) return data