s3proxy icon indicating copy to clipboard operation
s3proxy copied to clipboard

Add middleware to replace ETag

Open gaul opened this issue 3 years ago • 0 comments

PutObject responses from AWS include a base64-encoded ETag which other requests like conditional GetObject use. This ETag is the MD5 hash of the object which some clients will compare against the client-generated MD5. Azure and B2 return a non-MD5 ETag which makes those clients fail their PutObject requests. Could S3Proxy add a middleware to calculate the MD5 and return it?

gaul avatar Feb 01 '22 07:02 gaul