Support x-amz-copy-source-if-* for PUT Object Copy
Support following headers for PUT Object Copy. - x-amz-copy-source-if-match - x-amz-copy-source-if-none-match - x-amz-copy-source-if-modified-since - x-amz-copy-source-if-unmodified-since And I'll support those headers for Upload Part Copy in next patch. Change-Id: I0dbb37310a8d252b292eef41f7b777f9dbae69d6
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user