Files
rclone/docs/content
Chris a3e1312d9d s3: fix Content-MD5 for Object Lock uploads and add GCS quirk
AWS S3 requires Content-MD5 for PutObject with Object Lock parameters.
Since rclone passes a non-seekable io.Reader, the SDK cannot compute
checksums automatically. Buffer the body and compute MD5 manually for
singlepart PutObject and presigned request uploads when Object Lock
parameters are set. Multipart uploads are unaffected as Object Lock
headers go on CreateMultipartUpload which has no body.

Add object_lock_supported provider quirk (default true) to allow
skipping Object Lock integration tests on providers with incomplete
S3 API support. Set to false for GCS which uses non-standard
x-goog-bypass-governance-retention header and doesn't implement
PutObjectLegalHold/GetObjectLegalHold.

Add Multipart and Presigned subtests to Object Lock integration tests
to cover all three upload paths.

Fixes #9199
2026-03-14 22:18:43 +00:00
..
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2026-03-11 11:26:16 +00:00
2026-01-30 20:53:56 +00:00
2026-01-30 20:53:56 +00:00
2026-03-03 16:13:00 -05:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2026-01-30 20:53:56 +00:00
2026-01-30 20:53:56 +00:00
2026-01-23 16:55:52 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2026-01-30 20:53:56 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00