Skip to content

Commit 856eaeb

Browse files
authored
Merge pull request #298 from bug-is-zhang/master
ci sdk update
2 parents d336c35 + 9ad5ad1 commit 856eaeb

File tree

3 files changed

+126
-164
lines changed

3 files changed

+126
-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)