-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
It only works for non-gzipped files, as the MD5 is calculated from .read() of original file, and S3 ETAG if for the uploaded file, gzip-encoded if GZIP=True.
I tried to patch for both cases, but had not worked for some unknown reason (for me at least). I tried to hashlib.md5(self.storage._compress_content(source_storage.open(path).read())).hexdigest()
, but it never give me the same answer as the ETAG.
Weird. I give up for now. Better luck next coder.
Metadata
Metadata
Assignees
Labels
No labels