From bf94e0b8117c81224f1634d4c85facc52c5301d6 Mon Sep 17 00:00:00 2001 From: Michael Barton Date: Mon, 13 Dec 2010 18:25:09 +0000 Subject: [PATCH] remove migration header --- swift/proxy/server.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/swift/proxy/server.py b/swift/proxy/server.py index 6d6974a400..29c2243afe 100644 --- a/swift/proxy/server.py +++ b/swift/proxy/server.py @@ -616,10 +616,6 @@ class ObjectController(Controller): partition, nodes = self.app.object_ring.get_nodes( self.account_name, self.container_name, self.object_name) req.headers['X-Timestamp'] = normalize_timestamp(time.time()) - # this is a temporary hook for migrations to set PUT timestamps - if '!Migration-Timestamp!' in req.headers: - req.headers['X-Timestamp'] = \ - normalize_timestamp(req.headers['!Migration-Timestamp!']) # Sometimes the 'content-type' header exists, but is set to None. if not req.headers.get('content-type'): guessed_type, _ = mimetypes.guess_type(req.path_info)