Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
[#6] removed x-amz-metadata-directive which was erroring out
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinKyleJames authored and trel committed Dec 5, 2020
1 parent 290c88a commit a84124c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,9 @@ static S3Status compose_amz_headers(const RequestParams *params,
(unsigned long long) (params->startByte + params->byteCount - 1) );
}
// And the x-amz-metadata-directive header
if (properties) {
headers_append(1, "%s", "x-amz-metadata-directive: REPLACE");
}
//if (properties) {
// headers_append(1, "%s", "x-amz-metadata-directive: REPLACE");
//}
}

// Add the x-amz-security-token header if necessary
Expand Down

0 comments on commit a84124c

Please sign in to comment.