From 647c892f2a5115f714501cd5053d18e822af6b45 Mon Sep 17 00:00:00 2001 From: zhuxiaolong37 <85101990+zhuxiaolong37@users.noreply.github.com> Date: Fri, 10 Feb 2023 15:19:35 +0800 Subject: [PATCH] Add prefix x-oss-ac to V1 version signature --- oss2/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oss2/auth.py b/oss2/auth.py index 2849c959..e37feae7 100644 --- a/oss2/auth.py +++ b/oss2/auth.py @@ -88,7 +88,8 @@ class ProviderAuth(AuthBase): 'versioning', 'versionId', 'policy', 'requestPayment', 'x-oss-traffic-limit', 'qosInfo', 'asyncFetch', 'x-oss-request-payer', 'sequential', 'inventory', 'inventoryId', 'continuation-token', 'callback', 'callback-var', 'worm', 'wormId', 'wormExtend', 'replication', 'replicationLocation', - 'replicationProgress', 'transferAcceleration', 'cname', 'metaQuery'] + 'replicationProgress', 'transferAcceleration', 'cname', 'metaQuery', + 'x-oss-ac-source-ip', 'x-oss-ac-subnet-mask', 'x-oss-ac-vpc-id', 'x-oss-ac-forward-allow'] ) def _sign_request(self, req, bucket_name, key):