Skip to content

Commit

Permalink
Add prefix x-oss-ac to V1 version signature
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiaolong37 authored and huiguangjun committed Mar 8, 2023
1 parent fadfabb commit 647c892
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oss2/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 647c892

Please sign in to comment.