Ignore x-amz-checksum-mode

Fixes #869.
pull/730/merge
Andrew Gaul 2025-09-09 14:42:24 -07:00
rodzic c3351bf069
commit 694f7bdd3d
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -21,6 +21,7 @@ final class AwsHttpHeaders {
static final String API_VERSION = "x-amz-api-version";
static final String CHECKSUM_ALGORITHM = "x-amz-checksum-algorithm";
static final String CHECKSUM_CRC64NVME = "x-amz-checksum-crc64nvme";
static final String CHECKSUM_MODE = "x-amz-checksum-mode";
static final String CONTENT_SHA256 = "x-amz-content-sha256";
static final String COPY_SOURCE = "x-amz-copy-source";
static final String COPY_SOURCE_IF_MATCH = "x-amz-copy-source-if-match";

Wyświetl plik

@ -165,6 +165,7 @@ public class S3ProxyHandler {
AwsHttpHeaders.API_VERSION,
AwsHttpHeaders.CHECKSUM_ALGORITHM, // TODO: ignoring header
AwsHttpHeaders.CHECKSUM_CRC64NVME, // TODO: ignoring header
AwsHttpHeaders.CHECKSUM_MODE, // TODO: ignoring header
AwsHttpHeaders.CONTENT_SHA256,
AwsHttpHeaders.COPY_SOURCE,
AwsHttpHeaders.COPY_SOURCE_IF_MATCH,
@ -177,7 +178,7 @@ public class S3ProxyHandler {
AwsHttpHeaders.METADATA_DIRECTIVE,
AwsHttpHeaders.SDK_CHECKSUM_ALGORITHM, // TODO: ignoring header
AwsHttpHeaders.STORAGE_CLASS,
AwsHttpHeaders.TRAILER, // TODO: ignoring header
AwsHttpHeaders.TRAILER,
AwsHttpHeaders.TRANSFER_ENCODING, // TODO: ignoring header
AwsHttpHeaders.USER_AGENT
);