cleanup double repeated response.headers['X-Timestamp'] = file.metadata['X-Timestamp']
in swift.obj.server.HEAD Change-Id: Ie7cf853319589db7c48836dd5d7fd5e68cb009cd
This commit is contained in:
parent
6801920785
commit
5b02fded4e
@ -789,7 +789,6 @@ class ObjectController(object):
|
||||
response.content_length = file_size
|
||||
if 'Content-Encoding' in file.metadata:
|
||||
response.content_encoding = file.metadata['Content-Encoding']
|
||||
response.headers['X-Timestamp'] = file.metadata['X-Timestamp']
|
||||
self.logger.timing_since('HEAD.timing', start_time)
|
||||
return response
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user