AWS code looks for a hyphen in the ETag to signify a multipart upload, in which case it will not use the ETag as a checksum. ViPR v1 returns "00" in the ETag for objects uploaded via multipart (no hyphen). This handler will add the hyphen to the ETag so that it is correctly interpreted as a multipart upload and the ETag is ignored. Otherwise it is treated as a checksum and an exception is thrown when it fails to validate. TODO: remove post v1 when ViPR will return a hyphen in the ETag for multipart uploads
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.