now can delete content-encoding if it was set at object creation
This commit is contained in:
parent
06094af359
commit
68566d38cf
@ -137,7 +137,7 @@ class DiskFile(object):
|
||||
if self.meta_file:
|
||||
with open(self.meta_file) as mfp:
|
||||
for key in self.metadata.keys():
|
||||
if key.lower() not in ('content-type', 'content-encoding',
|
||||
if key.lower() not in ('content-type',
|
||||
'deleted', 'content-length', 'etag'):
|
||||
del self.metadata[key]
|
||||
self.metadata.update(read_metadata(mfp))
|
||||
|
Loading…
x
Reference in New Issue
Block a user