[PR #1688] [MERGED] Set Content-MD5 header even for empty objects #2115

Closed
opened 2026-03-04 02:03:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1688
Author: @hdima
Created: 6/18/2021
Status: Merged
Merged: 6/19/2021
Merged by: @gaul

Base: masterHead: add_content_md5_header_even_for_empty_objects


📝 Commits (1)

  • b536723 Set Content-MD5 header even for empty objects

📊 Changes

1 file changed (+10 additions, -5 deletions)

View changed files

📝 src/curl.cpp (+10 -5)

📄 Description

If Content-MD5 header is enabled set it even for empty objects. The Content-MD5 header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1688 **Author:** [@hdima](https://github.com/hdima) **Created:** 6/18/2021 **Status:** ✅ Merged **Merged:** 6/19/2021 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `add_content_md5_header_even_for_empty_objects` --- ### 📝 Commits (1) - [`b536723`](https://github.com/s3fs-fuse/s3fs-fuse/commit/b536723e4e64ae96a2f26ed9b1cb0fc1e0360a1e) Set Content-MD5 header even for empty objects ### 📊 Changes **1 file changed** (+10 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+10 -5) </details> ### 📄 Description If Content-MD5 header is enabled set it even for empty objects. The Content-MD5 header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:03:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2115
No description provided.