From e01ff4dcb728bb458253b5ee0f6b51dd158a425f Mon Sep 17 00:00:00 2001 From: chrisftian Date: Thu, 29 Dec 2022 15:40:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E5=8A=A0=E5=85=A5=E7=AD=BE=E5=90=8D=E7=9A=84headers=20(#163)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- sdk/util.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 = {};