]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: lc support Content-MD5 in request headers
authorEnming Zhang <enming.zhang@umcloud.com>
Tue, 24 Oct 2017 18:36:47 +0000 (02:36 +0800)
committerNathan Cutler <ncutler@suse.com>
Mon, 6 Nov 2017 12:32:48 +0000 (13:32 +0100)
commit5e44bedf293beffb6823ae866373314a3675c431
tree4d781972df676ef22d2ca9209cd6739fcc63c22f
parenta5899a57e4f077f4061fc2aa33a61377de7ac025
rgw: lc support Content-MD5 in request headers

According to AWS S3, this header must be used
as a message integrity check to verify that
the request body was not corrupted in transit.

Content-MD5 is the base64-encoded 128-bit MD5
digest of the data

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
(cherry picked from commit 9c0abe6d638c92f1f29798afa846f8a80fa64814)
src/rgw/rgw_op.cc
src/rgw/rgw_op.h