File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,10 @@ struct CreateMultipartUploadResponse : public Response {
190
190
struct PutObjectResponse : public Response {
191
191
std::string etag;
192
192
std::string version_id;
193
+ std::string checksumCRC32;
194
+ std::string checksumCRC32C;
195
+ std::string checksumSHA1;
196
+ std::string checksumSHA256;
193
197
194
198
PutObjectResponse () = default ;
195
199
Original file line number Diff line number Diff line change @@ -1384,6 +1384,10 @@ PutObjectResponse BaseClient::PutObject(PutObjectApiArgs args) {
1384
1384
PutObjectResponse resp;
1385
1385
resp.etag = utils::Trim (response.headers .GetFront (" etag" ), ' "' );
1386
1386
resp.version_id = response.headers .GetFront (" x-amz-version-id" );
1387
+ resp.checksumCRC32 = response.headers .GetFront (" x-amz-checksum-crc32" );
1388
+ resp.checksumCRC32C = response.headers .GetFront (" x-amz-checksum-crc32c" );
1389
+ resp.checksumSHA1 = response.headers .GetFront (" x-amz-checksum-sha1" );
1390
+ resp.checksumSHA256 = response.headers .GetFront (" x-amz-checksum-sha256" );
1387
1391
1388
1392
return resp;
1389
1393
}
You can’t perform that action at this time.
0 commit comments