diff --git a/swift/proxy/controllers/obj.py b/swift/proxy/controllers/obj.py index abd4cc2..4a97f31 100644 --- a/swift/proxy/controllers/obj.py +++ b/swift/proxy/controllers/obj.py @@ -206,6 +206,8 @@ class ObjectController(Controller): aresp = req.environ['swift.authorize'](req) if aresp: return aresp + if not container_info['node']: + return HTTPNotFound(request=req) partition = obj_ring.get_part( self.account_name, self.container_name, self.object_name) resp = self.GETorHEAD_base(