diff --git a/package.json b/package.json index 3a07a2b..4eca946 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cos-nodejs-sdk-v5", - "version": "2.11.18", + "version": "2.11.19", "description": "cos nodejs sdk v5", "main": "index.js", "types": "index.d.ts", diff --git a/sdk/util.js b/sdk/util.js index cbd771a..3a99748 100644 --- a/sdk/util.js +++ b/sdk/util.js @@ -52,8 +52,7 @@ var obj2str = function (obj, lowerCaseKey) { // 可以签入签名的headers var signHeaders = ['content-disposition', 'content-encoding', 'content-length', 'content-md5', 'expect', 'expires', 'host', 'if-match', 'if-modified-since', 'if-none-match', 'if-unmodified-since', - 'origin', 'range', 'response-cache-control', 'response-content-disposition', 'response-content-encoding', - 'response-content-language', 'response-content-type', 'response-expires', 'transfer-encoding', 'versionid']; + 'origin', 'range', 'transfer-encoding']; var getSignHeaderObj = function (headers) { var signHeaderObj = {};