Merge "Support x-amz-copy-source-if-* for PUT Object Copy"

This commit is contained in:
Jenkins
2015-01-08 03:06:39 +00:00
committed by Gerrit Code Review
4 changed files with 171 additions and 8 deletions

View File

@@ -54,6 +54,7 @@ class ObjectController(Controller):
"""
Handle PUT Object and PUT Object (Copy) request
"""
req.check_copy_source(self.app)
resp = req.get_response(self.app)
if 'X-Amz-Copy-Source' in req.headers: