Skip to content

Commit

Permalink
Merge pull request #1333 from PhilipNilsson7/master
Browse files Browse the repository at this point in the history
fix #1332 SignatureDoesNotMatch error when modifying an object on Cloudflare R2
  • Loading branch information
fviard authored Oct 20, 2023
2 parents 8450210 + c54f21f commit c859a29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S3/S3.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,8 @@ def _sanitize_headers(self, headers):
'server',
'x-amz-id-2',
'x-amz-request-id',
# Cloudflare's R2 header we don't want to send
'cf-ray',
# Other headers that are not copying by a direct copy
'x-amz-storage-class',
## We should probably also add server-side encryption headers
Expand Down

0 comments on commit c859a29

Please sign in to comment.