Files
seaweedFS/weed
Chris Lu a5ab05ec03 fix: S3 GetObject/HeadObject with PartNumber should return object ETag, not part ETag (#7622)
AWS S3 behavior: when calling GetObject or HeadObject with the PartNumber
query parameter, the ETag header should still return the complete object's
ETag (e.g., 'abc123-4' for a 4-part multipart upload), not the individual
part's ETag.

The previous implementation incorrectly overrode the ETag with the part's
ETag, causing test_multipart_get_part to fail.

This fix removes the ETag override logic while keeping:
- x-amz-mp-parts-count header (correct)
- Content-Length adjusted to part size (correct)
- Range calculation for part boundaries (correct)
2025-12-04 12:18:57 -08:00
..
fmt
2025-12-04 10:40:01 -08:00
2025-10-13 18:05:17 -07:00
2025-11-12 22:14:50 -08:00
2024-06-25 09:18:11 -07:00
2024-02-14 08:26:38 -08:00
2025-03-17 23:13:27 -07:00