kopia lustrzana https://github.com/gaul/s3proxy
rodzic
5996114f8c
commit
99c1486fd3
|
@ -18,6 +18,7 @@ package org.gaul.s3proxy;
|
||||||
|
|
||||||
final class AwsHttpHeaders {
|
final class AwsHttpHeaders {
|
||||||
static final String ACL = "x-amz-acl";
|
static final String ACL = "x-amz-acl";
|
||||||
|
static final String API_VERSION = "x-amz-api-version";
|
||||||
static final String CONTENT_SHA256 = "x-amz-content-sha256";
|
static final String CONTENT_SHA256 = "x-amz-content-sha256";
|
||||||
static final String COPY_SOURCE = "x-amz-copy-source";
|
static final String COPY_SOURCE = "x-amz-copy-source";
|
||||||
static final String COPY_SOURCE_IF_MATCH = "x-amz-copy-source-if-match";
|
static final String COPY_SOURCE_IF_MATCH = "x-amz-copy-source-if-match";
|
||||||
|
|
|
@ -163,6 +163,7 @@ public class S3ProxyHandler {
|
||||||
/** All supported x-amz- headers, except for x-amz-meta- user metadata. */
|
/** All supported x-amz- headers, except for x-amz-meta- user metadata. */
|
||||||
private static final Set<String> SUPPORTED_X_AMZ_HEADERS = ImmutableSet.of(
|
private static final Set<String> SUPPORTED_X_AMZ_HEADERS = ImmutableSet.of(
|
||||||
AwsHttpHeaders.ACL,
|
AwsHttpHeaders.ACL,
|
||||||
|
AwsHttpHeaders.API_VERSION,
|
||||||
AwsHttpHeaders.CONTENT_SHA256,
|
AwsHttpHeaders.CONTENT_SHA256,
|
||||||
AwsHttpHeaders.COPY_SOURCE,
|
AwsHttpHeaders.COPY_SOURCE,
|
||||||
AwsHttpHeaders.COPY_SOURCE_IF_MATCH,
|
AwsHttpHeaders.COPY_SOURCE_IF_MATCH,
|
||||||
|
|
Ładowanie…
Reference in New Issue