kopia lustrzana https://github.com/gaul/s3proxy
Put each subresource on its own line
rodzic
3b4e0c8fdf
commit
f5d2fa9a0b
|
@ -137,12 +137,28 @@ public class S3ProxyHandler {
|
||||||
.or(CharMatcher.is('_'))
|
.or(CharMatcher.is('_'))
|
||||||
.or(CharMatcher.is('-'));
|
.or(CharMatcher.is('-'));
|
||||||
private static final Set<String> SIGNED_SUBRESOURCES = ImmutableSet.of(
|
private static final Set<String> SIGNED_SUBRESOURCES = ImmutableSet.of(
|
||||||
"acl", "delete", "lifecycle", "location", "logging", "notification",
|
"acl",
|
||||||
"partNumber", "policy", "requestPayment", "response-cache-control",
|
"delete",
|
||||||
"response-content-disposition", "response-content-encoding",
|
"lifecycle",
|
||||||
"response-content-language", "response-content-type",
|
"location",
|
||||||
"response-expires", "torrent", "uploadId", "uploads", "versionId",
|
"logging",
|
||||||
"versioning", "versions", "website"
|
"notification",
|
||||||
|
"partNumber",
|
||||||
|
"policy",
|
||||||
|
"requestPayment",
|
||||||
|
"response-cache-control",
|
||||||
|
"response-content-disposition",
|
||||||
|
"response-content-encoding",
|
||||||
|
"response-content-language",
|
||||||
|
"response-content-type",
|
||||||
|
"response-expires",
|
||||||
|
"torrent",
|
||||||
|
"uploadId",
|
||||||
|
"uploads",
|
||||||
|
"versionId",
|
||||||
|
"versioning",
|
||||||
|
"versions",
|
||||||
|
"website"
|
||||||
);
|
);
|
||||||
private static final Set<String> SUPPORTED_PARAMETERS = ImmutableSet.of(
|
private static final Set<String> SUPPORTED_PARAMETERS = ImmutableSet.of(
|
||||||
"acl",
|
"acl",
|
||||||
|
|
Ładowanie…
Reference in New Issue