Skip to content

Commit

Permalink
[irods#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 18c4da4 commit eb7c737
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 eb7c737

Please sign in to comment.