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 96f6a58 commit 464fbddCopy full SHA for 464fbdd
src/main/java/com/qcloud/cos/demo/RecoverObjectsDemo2.java
@@ -41,7 +41,7 @@ private static COSClient createCli(String region) {
41
// 2 设置bucket的区域, COS地域的简称请参照 https://www.qcloud.com/document/product/436/6224
42
ClientConfig clientConfig = new ClientConfig(new Region(region));
43
44
- clientConfig.setHttpProtocol(HttpProtocol.http);
+ clientConfig.setHttpProtocol(HttpProtocol.https);
45
// 生成cos客户端
46
return new COSClient(cred, clientConfig);
47
}
0 commit comments