Skip to content

Commit 4518964

Browse files
author
flynnzzhang
committed
严格签名补充支持
1 parent 9098c1a commit 4518964

File tree

2 files changed

+125
-164
lines changed

2 files changed

+125
-164
lines changed

qcloud_cos/cos_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def filter_headers(data):
3838
]
3939
headers = {}
4040
for i in data:
41-
if str.lower(i) in valid_headers or str.lower(i).startswith("x-cos-"):
41+
if str.lower(i) in valid_headers or str.lower(i).startswith("x-cos-") or str.lower(i).startswith("x-ci-"):
4242
headers[i] = data[i]
4343
return headers
4444

0 commit comments

Comments
 (0)